mirror of https://gitee.com/openkylin/linux.git
d647f0b70c
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> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
cx18-alsa-main.c | ||
cx18-alsa-mixer.c | ||
cx18-alsa-mixer.h | ||
cx18-alsa-pcm.c | ||
cx18-alsa-pcm.h | ||
cx18-alsa.h | ||
cx18-audio.c | ||
cx18-audio.h | ||
cx18-av-audio.c | ||
cx18-av-core.c | ||
cx18-av-core.h | ||
cx18-av-firmware.c | ||
cx18-av-vbi.c | ||
cx18-cards.c | ||
cx18-cards.h | ||
cx18-controls.c | ||
cx18-controls.h | ||
cx18-driver.c | ||
cx18-driver.h | ||
cx18-dvb.c | ||
cx18-dvb.h | ||
cx18-fileops.c | ||
cx18-fileops.h | ||
cx18-firmware.c | ||
cx18-firmware.h | ||
cx18-gpio.c | ||
cx18-gpio.h | ||
cx18-i2c.c | ||
cx18-i2c.h | ||
cx18-io.c | ||
cx18-io.h | ||
cx18-ioctl.c | ||
cx18-ioctl.h | ||
cx18-irq.c | ||
cx18-irq.h | ||
cx18-mailbox.c | ||
cx18-mailbox.h | ||
cx18-queue.c | ||
cx18-queue.h | ||
cx18-scb.c | ||
cx18-scb.h | ||
cx18-streams.c | ||
cx18-streams.h | ||
cx18-vbi.c | ||
cx18-vbi.h | ||
cx18-version.h | ||
cx18-video.c | ||
cx18-video.h | ||
cx23418.h |