OpenCloudOS-Kernel/drivers/media/platform
Mauro Carvalho Chehab eb4b0ec75e [media] include/media: move platform_data to linux/platform_data/media
Let's not mix platform_data headers with the core headers. Instead, let's
create a subdir at linux/platform_data and move the headers to that
common place, adding it to MAINTAINERS.

The headers were moved with:
	mkdir include/linux/platform_data/media/; git mv include/media/gpio-ir-recv.h include/media/ir-rx51.h include/media/mmp-camera.h include/media/omap1_camera.h include/media/omap4iss.h include/media/s5p_hdmi.h include/media/si4713.h include/media/sii9234.h include/media/smiapp.h include/media/soc_camera.h include/media/soc_camera_platform.h include/media/timb_radio.h include/media/timb_video.h include/linux/platform_data/media/

And the references fixed with this script:
    MAIN_DIR="linux/platform_data/"
    PREV_DIR="media/"
    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

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Lee Jones <lee.jones@linaro.org>
Acked-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
2015-11-17 06:58:42 -02:00
..
am437x [media] media: videobuf2: Change queue_setup argument 2015-10-20 14:48:39 -02:00
blackfin [media] media: videobuf2: Change queue_setup argument 2015-10-20 14:48:39 -02:00
coda [media] media: videobuf2: Change queue_setup argument 2015-10-20 14:48:39 -02:00
davinci [media] media: videobuf2: Change queue_setup argument 2015-10-20 14:48:39 -02:00
exynos-gsc [media] media: videobuf2: Change queue_setup argument 2015-10-20 14:48:39 -02:00
exynos4-is [media] include/media: move driver interface headers to a separate dir 2015-11-17 06:57:29 -02:00
marvell-ccic [media] include/media: move platform_data to linux/platform_data/media 2015-11-17 06:58:42 -02:00
omap media updates for v4.3-rc1 2015-09-11 16:42:39 -07:00
omap3isp [media] media: videobuf2: Change queue_setup argument 2015-10-20 14:48:39 -02:00
s3c-camif [media] include/media: move driver interface headers to a separate dir 2015-11-17 06:57:29 -02:00
s5p-g2d [media] media: videobuf2: Change queue_setup argument 2015-10-20 14:48:39 -02:00
s5p-jpeg [media] media: videobuf2: Change queue_setup argument 2015-10-20 14:48:39 -02:00
s5p-mfc [media] media: videobuf2: Change queue_setup argument 2015-10-20 14:48:39 -02:00
s5p-tv [media] include/media: move platform_data to linux/platform_data/media 2015-11-17 06:58:42 -02:00
soc_camera [media] include/media: move platform_data to linux/platform_data/media 2015-11-17 06:58:42 -02:00
sti media updates for v4.4-rc1 2015-11-05 12:05:15 -08:00
ti-vpe [media] media: videobuf2: Change queue_setup argument 2015-10-20 14:48:39 -02:00
vivid [media] media/vivid-osd: fix info leak in ioctl 2015-10-20 15:34:29 -02:00
vsp1 [media] media: videobuf2: Change queue_setup argument 2015-10-20 14:48:39 -02:00
xilinx [media] media: videobuf2: Change queue_setup argument 2015-10-20 14:48:39 -02:00
Kconfig [media] VIDEO_RENESAS_JPU should depend on HAS_DMA 2015-10-03 10:01:48 -03:00
Makefile [media] c8sectpfe: Add Kconfig and Makefile for the driver 2015-08-11 16:08:29 -03:00
arv.c [media] media: remove the setting of the flag V4L2_FL_USE_FH_PRIO 2014-07-04 16:14:59 -03:00
fsl-viu.c [media] fsl-viu: drop format names 2015-08-11 06:59:09 -03:00
m2m-deinterlace.c [media] media: videobuf2: Change queue_setup argument 2015-10-20 14:48:39 -02:00
mx2_emmaprp.c [media] media: videobuf2: Change queue_setup argument 2015-10-20 14:48:39 -02:00
rcar_jpu.c [media] media: videobuf2: Change queue_setup argument 2015-10-20 14:48:39 -02:00
sh_veu.c [media] media: videobuf2: Change queue_setup argument 2015-10-20 14:48:39 -02:00
sh_vou.c [media] include/media: move driver interface headers to a separate dir 2015-11-17 06:57:29 -02:00
timblogiw.c [media] include/media: move platform_data to linux/platform_data/media 2015-11-17 06:58:42 -02:00
via-camera.c [media] include/media: split I2C headers from V4L2 core 2015-11-17 06:57:11 -02:00
via-camera.h
vim2m.c [media] media: videobuf2: Change queue_setup argument 2015-10-20 14:48:39 -02:00