mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-03 16:56:45 +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> |
||
---|---|---|
.. | ||
ab3100-core.c | ||
ab3100-otp.c | ||
asic3.c | ||
da903x.c | ||
dm355evm_msp.c | ||
ezx-pcap.c | ||
htc-egpio.c | ||
htc-pasic3.c | ||
Kconfig | ||
Makefile | ||
mc13783-core.c | ||
mcp-core.c | ||
mcp-sa11x0.c | ||
mcp.h | ||
menelaus.c | ||
mfd-core.c | ||
pcf50633-adc.c | ||
pcf50633-core.c | ||
pcf50633-gpio.c | ||
sm501.c | ||
t7l66xb.c | ||
tc6387xb.c | ||
tc6393xb.c | ||
tps65010.c | ||
twl4030-core.c | ||
twl4030-irq.c | ||
twl4030-power.c | ||
ucb1x00-assabet.c | ||
ucb1x00-core.c | ||
ucb1x00-ts.c | ||
ucb1x00.h | ||
ucb1400_core.c | ||
wm831x-core.c | ||
wm831x-irq.c | ||
wm831x-otp.c | ||
wm8350-core.c | ||
wm8350-gpio.c | ||
wm8350-i2c.c | ||
wm8350-regmap.c | ||
wm8400-core.c |