mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-27 03:52:12 +07:00
ce491cf854
Move the remaining headers under plat-omap/include/mach to plat-omap/include/plat. Also search and replace the files using these headers to include using the right path. This was done with: #!/bin/bash mach_dir_old="arch/arm/plat-omap/include/mach" plat_dir_new="arch/arm/plat-omap/include/plat" headers=$(cd $mach_dir_old && ls *.h) omap_dirs="arch/arm/*omap*/ \ drivers/video/omap \ sound/soc/omap" other_files="drivers/leds/leds-ams-delta.c \ drivers/mfd/menelaus.c \ drivers/mfd/twl4030-core.c \ drivers/mtd/nand/ams-delta.c" for header in $headers; do old="#include <mach\/$header" new="#include <plat\/$header" for dir in $omap_dirs; do find $dir -type f -name \*.[chS] | \ xargs sed -i "s/$old/$new/" done find drivers/ -type f -name \*omap*.[chS] | \ xargs sed -i "s/$old/$new/" for file in $other_files; do sed -i "s/$old/$new/" $file done done for header in $(ls $mach_dir_old/*.h); do git mv $header $plat_dir_new/ done Signed-off-by: Tony Lindgren <tony@atomide.com> |
||
---|---|---|
.. | ||
blizzard.c | ||
dispc.c | ||
dispc.h | ||
hwa742.c | ||
Kconfig | ||
lcd_2430sdp.c | ||
lcd_ams_delta.c | ||
lcd_apollon.c | ||
lcd_h3.c | ||
lcd_h4.c | ||
lcd_inn1510.c | ||
lcd_inn1610.c | ||
lcd_ldp.c | ||
lcd_mipid.c | ||
lcd_omap2evm.c | ||
lcd_omap3beagle.c | ||
lcd_omap3evm.c | ||
lcd_osk.c | ||
lcd_overo.c | ||
lcd_palmte.c | ||
lcd_palmtt.c | ||
lcd_palmz71.c | ||
lcdc.c | ||
lcdc.h | ||
Makefile | ||
omapfb_main.c | ||
rfbi.c | ||
sossi.c |