linux/drivers/media/radio
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
..
si470x [media] si470x: cleanup define namespace 2015-06-22 15:25:31 -03:00
si4713 [media] si4713: fix error return code 2015-05-01 07:00:31 -03:00
wl128x [media] wl128x: use swap() in fm_rdsparse_swapbytes() 2015-07-06 08:25:48 -03:00
dsbr100.c [media] media: remove the setting of the flag V4L2_FL_USE_FH_PRIO 2014-07-04 16:14:59 -03:00
Kconfig [media] radio-raremono: add support for 'Thanko's Raremono' AM/FM/SW USB device 2013-12-18 11:30:32 -02:00
lm7000.h
Makefile [media] radio-raremono: add support for 'Thanko's Raremono' AM/FM/SW USB device 2013-12-18 11:30:32 -02:00
radio-aimslab.c [media] radio/aimslab: use mdelay instead of udelay 2015-02-02 11:07:09 -02:00
radio-aztech.c [media] radio-aztech: Implement signal strength detection and fix stereo detection 2013-07-26 13:34:09 -03:00
radio-cadet.c [media] media: remove the setting of the flag V4L2_FL_USE_FH_PRIO 2014-07-04 16:14:59 -03:00
radio-gemtek.c [media] radio: use true/false for boolean vars 2014-09-03 17:59:20 -03:00
radio-isa.c [media] media: remove the setting of the flag V4L2_FL_USE_FH_PRIO 2014-07-04 16:14:59 -03:00
radio-isa.h
radio-keene.c [media] Fix 64-bit division fall-out from 64-bit control ranges 2014-07-17 12:44:38 -03:00
radio-ma901.c [media] media: remove the setting of the flag V4L2_FL_USE_FH_PRIO 2014-07-04 16:14:59 -03:00
radio-maxiradio.c [media] include/media: move driver interface headers to a separate dir 2015-11-17 06:57:29 -02:00
radio-miropcm20.c [media] media/radio: fix radio-miropcm20.c build with io.h header file 2014-09-21 20:50:38 -03:00
radio-mr800.c [media] media: remove the setting of the flag V4L2_FL_USE_FH_PRIO 2014-07-04 16:14:59 -03:00
radio-raremono.c [media] media: remove the setting of the flag V4L2_FL_USE_FH_PRIO 2014-07-04 16:14:59 -03:00
radio-rtrack2.c
radio-sf16fmi.c [media] radio-sf16fmi: declare pnp_attached as static 2014-09-26 06:47:55 -03:00
radio-sf16fmr2.c [media] include/media: move driver interface headers to a separate dir 2015-11-17 06:57:29 -02:00
radio-shark2.c [media] radio-shark2: Mark shark_resume_leds() inline to kill compiler warning 2013-12-09 14:50:50 -02:00
radio-shark.c [media] include/media: move driver interface headers to a separate dir 2015-11-17 06:57:29 -02:00
radio-si476x.c [media] include/media: move driver interface headers to a separate dir 2015-11-17 06:57:29 -02:00
radio-tea5764.c [media] radio: Drop owner assignment from i2c_driver 2015-08-11 13:01:08 -03:00
radio-tea5777.c [media] media: remove the setting of the flag V4L2_FL_USE_FH_PRIO 2014-07-04 16:14:59 -03:00
radio-tea5777.h
radio-terratec.c
radio-timb.c [media] radio: fix error return code 2015-05-01 07:02:16 -03:00
radio-trust.c
radio-typhoon.c
radio-wl1273.c [media] media: radio: handle timeouts 2015-03-02 16:50:42 -03:00
radio-zoltrix.c
saa7706h.c [media] radio: Drop owner assignment from i2c_driver 2015-08-11 13:01:08 -03:00
tea575x.c [media] include/media: move driver interface headers to a separate dir 2015-11-17 06:57:29 -02:00
tef6862.c [media] radio: Drop owner assignment from i2c_driver 2015-08-11 13:01:08 -03:00