linux/drivers/media/pci/ttpci
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
..
av7110_av.c [media] dvb: get rid of enum dmx_success 2015-10-06 19:53:02 -03:00
av7110_av.h
av7110_ca.c [media] dvb: push down ioctl lock in dvb_usercopy 2012-12-27 15:44:21 -02:00
av7110_ca.h
av7110_hw.c [media] av7110_hw: fix a sanity check in av7110_fw_cmd() 2014-03-11 15:54:49 -03:00
av7110_hw.h
av7110_ipack.c
av7110_ipack.h
av7110_ir.c proc: Supply PDE attribute setting accessor functions 2013-05-01 17:29:18 -04:00
av7110_v4l.c [media] v4l2: add const to argument of write-only s_tuner ioctl 2013-03-24 06:31:23 -03:00
av7110.c [media] dvb: get rid of enum dmx_success 2015-10-06 19:53:02 -03:00
av7110.h [media] include/media: move driver interface headers to a separate dir 2015-11-17 06:57:29 -02:00
budget-av.c [media] include/media: move driver interface headers to a separate dir 2015-11-17 06:57:29 -02:00
budget-ci.c [media] rc-core: rename dev->scanmask to dev->scancode_mask 2014-07-25 19:10:43 -03:00
budget-core.c [media] dvb: Get rid of typedev usage for enums 2015-06-09 17:47:35 -03:00
budget-patch.c [media] dvb: Get rid of typedev usage for enums 2015-06-09 17:47:35 -03:00
budget.c [media] dvb: Get rid of typedev usage for enums 2015-06-09 17:47:35 -03:00
budget.h [media] include/media: move driver interface headers to a separate dir 2015-11-17 06:57:29 -02:00
Kconfig [media] media: ttpci: fix av7110 build to be compatible with CONFIG_INPUT_EVDEV 2014-08-21 15:25:38 -05:00
Makefile [media] media: ttpci: fix av7110 build to be compatible with CONFIG_INPUT_EVDEV 2014-08-21 15:25:38 -05:00
ttpci-eeprom.c [media] ttpci: Replace memset with eth_zero_addr 2015-08-11 12:50:56 -03:00
ttpci-eeprom.h