linux/drivers/media/radio
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
..
si470x [media] si470x: cleanup define namespace 2015-06-22 15:25:31 -03:00
si4713 [media] include/media: move platform_data to linux/platform_data/media 2015-11-17 06:58:42 -02:00
wl128x [media] wl128x: use swap() in fm_rdsparse_swapbytes() 2015-07-06 08:25:48 -03:00
dsbr100.c
Kconfig
lm7000.h
Makefile
radio-aimslab.c [media] radio/aimslab: use mdelay instead of udelay 2015-02-02 11:07:09 -02:00
radio-aztech.c
radio-cadet.c
radio-gemtek.c
radio-isa.c
radio-isa.h
radio-keene.c
radio-ma901.c
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
radio-mr800.c
radio-raremono.c
radio-rtrack2.c
radio-sf16fmi.c
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
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
radio-tea5777.h
radio-terratec.c
radio-timb.c [media] include/media: move platform_data to linux/platform_data/media 2015-11-17 06:58:42 -02: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