kernel_optimize_test/arch/arm/mach-imx/devices
Mauro Carvalho Chehab a71daaa10e [media] move media platform data to linux/platform_data/media
Now that media has its own subdirectory inside platform_data,
let's move the headers that are already there to such subdir.

After moving those files, the references were adjusted using this
script:

    MAIN_DIR="linux/platform_data/"
    PREV_DIR="linux/platform_data/"
    DIRS="media/"

    echo "Checking affected files" >&2
    for i in $DIRS; do
	for j in $(find include/$MAIN_DIR/$i -type f -name '*.h'); do
		 n=`basename $j`
		git grep -l $n
	done
    done|sort|uniq >files && (
	echo "Handling files..." >&2;
	echo "for i in \$(cat files|grep -v Documentation); do cat \$i | \\";
	(
		cd include/$MAIN_DIR;
		for j in $DIRS; do
			for i in $(ls $j); do
				echo "perl -ne 's,(include [\\\"\\<])$PREV_DIR($i)([\\\"\\>]),\1$MAIN_DIR$j\2\3,; print \$_' |\\";
			done;
		done;
		echo "cat > a && mv a \$i; done";
	);
	echo "Handling documentation..." >&2;
	echo "for i in MAINTAINERS \$(cat files); do cat \$i | \\";
	(
		cd include/$MAIN_DIR;
		for j in $DIRS; do
			for i in $(ls $j); do
				echo "  perl -ne 's,include/$PREV_DIR($i)\b,include/$MAIN_DIR$j\1,; print \$_' |\\";
			done;
		done;
		echo "cat > a && mv a \$i; done"
	);
    ) >script && . ./script

Suggested-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Mark Brown <broonie@kernel.org>
Acked-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2015-11-19 08:09:38 -02:00
..
devices-common.h [media] move media platform data to linux/platform_data/media 2015-11-19 08:09:38 -02:00
devices.c ARM: imx: Remove references to platform_bus in mxc code 2014-08-01 16:03:00 -07:00
Kconfig ARM: mx25: Remove imxdi_rtc platform code 2015-03-13 22:14:58 +08:00
Makefile ARM: mx25: Remove imxdi_rtc platform code 2015-03-13 22:14:58 +08:00
platform-fec.c ARM: mx25: Remove "mx25.h" header file 2015-03-13 22:14:58 +08:00
platform-flexcan.c ARM: imx: prepare for removal of flexcan_platform_data 2013-06-27 15:15:08 +02:00
platform-fsl-usb2-udc.c ARM: mx25: Remove "mx25.h" header file 2015-03-13 22:14:58 +08:00
platform-gpio_keys.c
platform-gpio-mxc.c
platform-imx-dma.c
platform-imx-fb.c ARM: mx25: Remove "mx25.h" header file 2015-03-13 22:14:58 +08:00
platform-imx-i2c.c ARM: mx25: Remove "mx25.h" header file 2015-03-13 22:14:58 +08:00
platform-imx-keypad.c ARM: mx25: Remove "mx25.h" header file 2015-03-13 22:14:58 +08:00
platform-imx-ssi.c ARM: mx25: Remove "mx25.h" header file 2015-03-13 22:14:58 +08:00
platform-imx-uart.c ARM: mx25: Remove "mx25.h" header file 2015-03-13 22:14:58 +08:00
platform-imx2-wdt.c ARM: mx25: Remove "mx25.h" header file 2015-03-13 22:14:58 +08:00
platform-imx21-hcd.c
platform-imx27-coda.c
platform-ipu-core.c ARM: imx: fix error handling in ipu device registration 2014-05-21 22:16:56 -07:00
platform-mx2-camera.c ARM: mx25: Remove "mx25.h" header file 2015-03-13 22:14:58 +08:00
platform-mx2-emma.c ARM: i.MX: Fix eMMa PrP resource size 2014-05-12 22:58:50 +08:00
platform-mxc_nand.c ARM: mx25: Remove "mx25.h" header file 2015-03-13 22:14:58 +08:00
platform-mxc_rnga.c ARM: imx: use PTR_ERR_OR_ZERO 2014-07-18 16:11:36 +08:00
platform-mxc_rtc.c
platform-mxc_w1.c
platform-mxc-ehci.c ARM: mx25: Remove "mx25.h" header file 2015-03-13 22:14:58 +08:00
platform-mxc-mmc.c
platform-pata_imx.c ARM: imx5: remove i.MX5 non-DT device registration helpers 2014-07-18 16:10:05 +08:00
platform-sdhci-esdhc-imx.c ARM: mach-imx: devices: platform-sdhci-esdhc-imx: fix broken email address 2015-04-27 20:37:06 +08:00
platform-spi_imx.c ARM: mx25: Remove "mx25.h" header file 2015-03-13 22:14:58 +08:00