linux_dsm_epyc7002/drivers/media/usb/pvrusb2
Mauro Carvalho Chehab d647f0b70c [media] include/media: move driver interface headers to a separate dir
Let's not mix headers used by the core with those headers that
are needed by some driver-specific interface header.

The headers used on drivers were manually moved using:
    mkdir include/media/drv-intf/
    git mv include/media/cx2341x.h include/media/cx25840.h \
	include/media/exynos-fimc.h include/media/msp3400.h \
	include/media/s3c_camif.h include/media/saa7146.h \
	include/media/saa7146_vv.h  include/media/sh_mobile_ceu.h \
	include/media/sh_mobile_csi2.h include/media/sh_vou.h \
	include/media/si476x.h include/media/soc_mediabus.h \
	include/media/tea575x.h include/media/drv-intf/

And the references for those headers were corrected using:

    MAIN_DIR="media/"
    PREV_DIR="media/"
    DIRS="drv-intf/"

    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>
2015-11-17 06:57:29 -02:00
..
Kconfig drivers/media/video/pvrusb2: remove depends on CONFIG_EXPERIMENTAL 2013-01-11 11:38:06 -08:00
Makefile
pvrusb2-audio.c [media] include/media: move driver interface headers to a separate dir 2015-11-17 06:57:29 -02:00
pvrusb2-audio.h [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
pvrusb2-context.c [media] pvrusb2: fix inconsistent indenting 2015-05-01 06:12:01 -03:00
pvrusb2-context.h [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
pvrusb2-cs53l32a.c [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
pvrusb2-cs53l32a.h [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
pvrusb2-ctrl.c [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
pvrusb2-ctrl.h [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
pvrusb2-cx2584x-v4l.c [media] include/media: move driver interface headers to a separate dir 2015-11-17 06:57:29 -02:00
pvrusb2-cx2584x-v4l.h [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
pvrusb2-debug.h [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
pvrusb2-debugifc.c [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
pvrusb2-debugifc.h [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
pvrusb2-devattr.c [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
pvrusb2-devattr.h [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
pvrusb2-dvb.c
pvrusb2-dvb.h
pvrusb2-eeprom.c [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
pvrusb2-eeprom.h [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
pvrusb2-encoder.c [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
pvrusb2-encoder.h [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
pvrusb2-fx2-cmd.h [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
pvrusb2-hdw-internal.h [media] include/media: move driver interface headers to a separate dir 2015-11-17 06:57:29 -02:00
pvrusb2-hdw.c [media] v4l2: replace s_mbus_fmt by set_fmt in bridge drivers 2015-05-01 09:01:16 -03:00
pvrusb2-hdw.h [media] usb: pvrusb2: pvrusb2-hdw: Remove unused function 2015-01-27 10:11:19 -02:00
pvrusb2-i2c-core.c [media] include/media: split I2C headers from V4L2 core 2015-11-17 06:57:11 -02:00
pvrusb2-i2c-core.h [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
pvrusb2-io.c [media] pvrusb2: fix inconsistent indenting 2015-05-01 06:12:01 -03:00
pvrusb2-io.h [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
pvrusb2-ioread.c [media] pvrusb2: fix inconsistent indenting 2015-05-01 06:12:01 -03:00
pvrusb2-ioread.h [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
pvrusb2-main.c [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
pvrusb2-std.c [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
pvrusb2-std.h [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
pvrusb2-sysfs.c [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
pvrusb2-sysfs.h [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
pvrusb2-util.h [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
pvrusb2-v4l2.c [media] v4l2: remove unused including <linux/version.h> 2015-03-03 11:20:12 -03:00
pvrusb2-v4l2.h [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
pvrusb2-video-v4l.c [media] include/media: split I2C headers from V4L2 core 2015-11-17 06:57:11 -02:00
pvrusb2-video-v4l.h [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
pvrusb2-wm8775.c [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
pvrusb2-wm8775.h [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
pvrusb2.h [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00