linux-stable/drivers/video/backlight
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
..
adp5520_bl.c backlight: new driver for ADP5520/ADP5501 MFD PMICs 2009-09-26 16:48:08 +01:00
adx_bl.c backlight: Add support for the Avionic Design Xanthos backlight device. 2009-09-07 15:14:44 +01:00
atmel-pwm-bl.c
backlight.c backlight: extend event support to also support poll() 2009-09-26 16:48:06 +01:00
corgi_lcd.c spi: prefix modalias with "spi:" 2009-09-23 07:39:43 -07:00
cr_bllcd.c
da903x_bl.c backlight: switch to da903x driver to dev_pm_ops 2009-09-21 20:59:12 +01:00
generic_bl.c
hp680_bl.c backlight: move hp680-bl's probe function to .devinit.text 2009-09-07 14:41:39 +01:00
ili9320.c
ili9320.h
jornada720_bl.c drivers/video/backlight/jornada720_bl.c: fix build 2009-07-29 19:10:35 -07:00
jornada720_lcd.c backlight: Add HP Jornada 700 series LCD driver 2009-04-06 16:06:55 +01:00
kb3886_bl.c
Kconfig Merge branch 'for-linus' of git://git.o-hand.com/linux-rpurdie-backlight 2009-09-26 10:49:42 -07:00
lcd.c fbdev: fix info->lock deadlock in fbcon_event_notify() 2009-04-13 15:04:28 -07:00
lms283gf05.c backlight: spi driver for LMS283GF05 LCD 2009-09-07 15:08:06 +01:00
locomolcd.c
ltv350qv.c spi: prefix modalias with "spi:" 2009-09-23 07:39:43 -07:00
ltv350qv.h
Makefile backlight: new driver for ADP5520/ADP5501 MFD PMICs 2009-09-26 16:48:08 +01:00
mbp_nvidia_bl.c backlight: Add support for new Apple machines. 2009-09-07 14:34:08 +01:00
omap1_bl.c omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
platform_lcd.c
progear_bl.c
pwm_bl.c backlight: fix pwm_bl.c to notify platform code when suspending 2009-07-03 14:22:41 +08:00
tdo24m.c spi: prefix modalias with "spi:" 2009-09-23 07:39:43 -07:00
tosa_bl.c
tosa_lcd.c spi: prefix modalias with "spi:" 2009-09-23 07:39:43 -07:00
vgg2432a4.c spi: prefix modalias with "spi:" 2009-09-23 07:39:43 -07:00
wm831x_bl.c backlight: Add WM831x backlight driver 2009-09-07 14:05:07 +01:00