linux/drivers/video/omap
Tony Lindgren ce491cf854 omap: headers: Move remaining headers from include/mach to include/plat
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>
2009-10-20 09:40:47 -07:00
..
blizzard.c omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
dispc.c omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
dispc.h omapfb: dispc: allow multiple external IRQ handlers 2009-09-23 07:39:50 -07:00
hwa742.c omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
Kconfig omapfb: add FB manual update option to Kconfig 2009-09-23 07:39:50 -07:00
lcd_2430sdp.c omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
lcd_ams_delta.c omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
lcd_apollon.c omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
lcd_h3.c omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
lcd_h4.c omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
lcd_inn1510.c omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
lcd_inn1610.c omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
lcd_ldp.c omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
lcd_mipid.c omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
lcd_omap2evm.c omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
lcd_omap3beagle.c omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
lcd_omap3evm.c omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
lcd_osk.c omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
lcd_overo.c omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
lcd_palmte.c omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
lcd_palmtt.c omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
lcd_palmz71.c omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
lcdc.c omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
lcdc.h [ARM] omap: fix a load of "warning: symbol 'xxx' was not declared. Should it be static?" 2008-09-05 17:02:34 +01:00
Makefile omapfb: add support for the ZOOM MDK LCD 2009-09-23 07:39:49 -07:00
omapfb_main.c omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
rfbi.c omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
sossi.c omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00