lkml.org 
[lkml]   [2003]   [Jan]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[bk patch] v4l: move some files around
  Hi,

This patch moves some v4l files. I've created drivers/media/common
directory for stuff shared by v4l drivers, moved a number of source
files to that place, created new config options for the shared stuff
(video-buf.o, i2c tv tuning modules) to cleanup the Makefiles.

The gnu patch included below includes only the kbuild changes (Kconfig
and Makefiles), not the file moves itself to keep the filesize small.

Please apply,

Gerd

==============================[ cut here ]==============================
# ChangeSet
# 1.1025 03/01/14 12:20:09 kraxel@bytesex.org +15 -0
# created drivers/media/common directory for stuff shared by
# v4l drivers, moved a number of source files to that place,
# created new config options for the shared stuff (video-buf.o,
# i2c tv tuning modules) to cleanup the Makefiles.
#
# drivers/media/common/Makefile
# 1.1 03/01/14 12:18:39 kraxel@bytesex.org +6 -0
#
# drivers/media/common/Kconfig
# 1.1 03/01/14 12:18:39 kraxel@bytesex.org +12 -0
#
# drivers/media/video/saa7134/Makefile
# 1.3 03/01/14 12:18:39 kraxel@bytesex.org +1 -1
# created drivers/media/common directory for stuff shared by
# v4l drivers, moved a number of source files to that place,
# created new config options for the shared stuff (video-buf.o,
# i2c tv tuning modules) to cleanup the Makefiles.
#
# drivers/media/video/Makefile
# 1.17 03/01/14 12:18:39 kraxel@bytesex.org +4 -5
# created drivers/media/common directory for stuff shared by
# v4l drivers, moved a number of source files to that place,
# created new config options for the shared stuff (video-buf.o,
# i2c tv tuning modules) to cleanup the Makefiles.
#
# drivers/media/common/Makefile
# 1.0 03/01/14 12:18:39 kraxel@bytesex.org +0 -0
# BitKeeper file /work/bk/2.5/v4l/drivers/media/common/Makefile
#
# drivers/media/common/Kconfig
# 1.0 03/01/14 12:18:39 kraxel@bytesex.org +0 -0
# BitKeeper file /work/bk/2.5/v4l/drivers/media/common/Kconfig
#
# drivers/media/Kconfig
# 1.3 03/01/14 12:18:39 kraxel@bytesex.org +2 -0
# created drivers/media/common directory for stuff shared by
# v4l drivers, moved a number of source files to that place,
# created new config options for the shared stuff (video-buf.o,
# i2c tv tuning modules) to cleanup the Makefiles.
#
# drivers/media/common/audiochip.h
# 1.4 03/01/14 12:04:13 kraxel@bytesex.org +0 -0
# Rename: drivers/media/video/audiochip.h -> drivers/media/common/audiochip.h
#
# drivers/media/common/id.h
# 1.4 03/01/14 12:03:34 kraxel@bytesex.org +0 -0
# Rename: drivers/media/video/id.h -> drivers/media/common/id.h
#
# drivers/media/common/videodev.c
# 1.18 03/01/14 11:23:57 kraxel@bytesex.org +0 -0
# Rename: drivers/media/video/videodev.c -> drivers/media/common/videodev.c
#
# drivers/media/common/v4l2-common.c
# 1.2 03/01/14 11:23:57 kraxel@bytesex.org +0 -0
# Rename: drivers/media/video/v4l2-common.c -> drivers/media/common/v4l2-common.c
#
# drivers/media/common/v4l1-compat.c
# 1.2 03/01/14 11:23:57 kraxel@bytesex.org +0 -0
# Rename: drivers/media/video/v4l1-compat.c -> drivers/media/common/v4l1-compat.c
#
# drivers/media/common/tuner.h
# 1.8 03/01/14 11:23:57 kraxel@bytesex.org +0 -0
# Rename: drivers/media/video/tuner.h -> drivers/media/common/tuner.h
#
# drivers/media/common/tuner.c
# 1.15 03/01/14 11:23:57 kraxel@bytesex.org +0 -0
# Rename: drivers/media/video/tuner.c -> drivers/media/common/tuner.c
#
# drivers/media/common/tda9887.c
# 1.3 03/01/14 11:23:57 kraxel@bytesex.org +0 -0
# Rename: drivers/media/video/tda9887.c -> drivers/media/common/tda9887.c
#
# drivers/media/common/video-buf.h
# 1.6 03/01/14 11:13:06 kraxel@bytesex.org +0 -0
# Rename: drivers/media/video/video-buf.h -> drivers/media/common/video-buf.h
#
# drivers/media/common/video-buf.c
# 1.8 03/01/14 11:13:00 kraxel@bytesex.org +0 -0
# Rename: drivers/media/video/video-buf.c -> drivers/media/common/video-buf.c
#
======================================================================
diff -Nru a/drivers/media/Kconfig b/drivers/media/Kconfig
--- a/drivers/media/Kconfig Tue Jan 14 12:24:13 2003
+++ b/drivers/media/Kconfig Tue Jan 14 12:24:13 2003
@@ -32,5 +32,7 @@

source "drivers/media/dvb/Kconfig"

+source "drivers/media/common/Kconfig"
+
endmenu

diff -Nru a/drivers/media/common/Kconfig b/drivers/media/common/Kconfig
--- /dev/null Wed Dec 31 16:00:00 1969
+++ b/drivers/media/common/Kconfig Tue Jan 14 12:24:13 2003
@@ -0,0 +1,12 @@
+config VIDEO_VIDEOBUF
+ tristate
+ default y if VIDEO_SAA7134=y || VIDEO_BT848=y
+ default m if VIDEO_SAA7134=m || VIDEO_BT848=m
+ depends on VIDEO_DEV
+
+config VIDEO_TUNER
+ tristate
+ default y if VIDEO_SAA7134=y || VIDEO_BT848=y
+ default m if VIDEO_SAA7134=m || VIDEO_BT848=m
+ depends on VIDEO_DEV
+
diff -Nru a/drivers/media/common/Makefile b/drivers/media/common/Makefile
--- /dev/null Wed Dec 31 16:00:00 1969
+++ b/drivers/media/common/Makefile Tue Jan 14 12:24:13 2003
@@ -0,0 +1,6 @@
+
+export-objs := videodev.o v4l2-common.o v4l1-compat.o video-buf.o
+
+obj-$(CONFIG_VIDEO_DEV) += videodev.o v4l2-common.o v4l1-compat.o
+obj-$(CONFIG_VIDEO_VIDEOBUF) += video-buf.o
+obj-$(CONFIG_VIDEO_TUNER) += tuner.o tda9887.o
diff -Nru a/drivers/media/video/Makefile b/drivers/media/video/Makefile
--- a/drivers/media/video/Makefile Tue Jan 14 12:24:13 2003
+++ b/drivers/media/video/Makefile Tue Jan 14 12:24:13 2003
@@ -5,17 +5,16 @@
# All of the (potential) objects that export symbols.
# This list comes from 'grep -l EXPORT_SYMBOL *.[hc]'.

-export-objs := videodev.o v4l2-common.o v4l1-compat.o \
- bttv-if.o cpia.o video-buf.o
+export-objs := bttv-if.o cpia.o

bttv-objs := bttv-driver.o bttv-cards.o bttv-if.o \
bttv-risc.o bttv-vbi.o
zoran-objs := zr36120.o zr36120_i2c.o zr36120_mem.o

-obj-$(CONFIG_VIDEO_DEV) += videodev.o v4l2-common.o v4l1-compat.o
+EXTRA_CFLAGS = -I$(src)/../common

obj-$(CONFIG_VIDEO_BT848) += bttv.o msp3400.o tvaudio.o \
- tda7432.o tda9875.o tuner.o video-buf.o tda9887.o
+ tda7432.o tda9875.o
obj-$(CONFIG_SOUND_TVMIXER) += tvmixer.o

obj-$(CONFIG_VIDEO_ZR36120) += zoran.o
@@ -35,5 +34,5 @@
obj-$(CONFIG_VIDEO_CPIA_PP) += cpia_pp.o
obj-$(CONFIG_VIDEO_CPIA_USB) += cpia_usb.o
obj-$(CONFIG_VIDEO_MEYE) += meye.o
-obj-$(CONFIG_VIDEO_SAA7134) += saa7134/ tuner.o tda9887.o video-buf.o
+obj-$(CONFIG_VIDEO_SAA7134) += saa7134/
obj-$(CONFIG_TUNER_3036) += tuner-3036.o
diff -Nru a/drivers/media/video/saa7134/Makefile b/drivers/media/video/saa7134/Makefile
--- a/drivers/media/video/saa7134/Makefile Tue Jan 14 12:24:13 2003
+++ b/drivers/media/video/saa7134/Makefile Tue Jan 14 12:24:13 2003
@@ -5,4 +5,4 @@

obj-$(CONFIG_VIDEO_SAA7134) += saa7134.o

-EXTRA_CFLAGS = -I$(src)/..
+EXTRA_CFLAGS = -I$(src)/../../common
======================================================================
This BitKeeper patch contains the following changesets:
1.1025
## Wrapped with gzip_uu ##

begin 664 bkpatch2415
M'XL(`%[S(SX``^U;ZV_;1A+_+/X5B[8?8J22]DU2@`L[L9,:;I/`>:!`[Q`L
MR:7%VA(%DG+L`__X&SXD46^2EGL.KK9!0.+N[.S,;YZ[_A%]CG4TZ-Q$ZE[?
M&C^B7\,X&72<AT3'^KX71M?PW548PG?];V%TTW=N^K0G^G?\UH`W'U3B#M&=
MCN)!A_38_)OD8:('G:OSMY]_.[TRC.-C]'JHQM?ZHT[0\;&1A-&=NO7B$Y4,
M;\-Q+XG4.![I1/7<<)3.AZ848PJ_@I@,"YD2B;F9NL0C1'&B/4RY)?F"VC`<
MZ5VT&":$8R$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J(IS9*,1QU!7_M'P?W?(M[F+4:/D^
MKM5+C0L;DH?U<-YQDN2N&\`&D#L)%`3#,R*RSG#^W-$:+OO"9R3O(^?/#D14
MDS,ZBZVFR,BQ?$#^W!"6RUS^"$%@GG6UM_O>R@%7.UMK?/;6W`VO'\+-F\ZP
M'"G<,%^R-<S!$S\W-UR5]38W7!F383D_8ZSCAJOS#N&&*[=+VN&B]DV7&1[B
M::Q[GMY#;!;D<2H%*2N)%=6S`>//3?6Y'+?I/'N9U7?YK9TZRLXG'%#+Y2VL
M=HIN=#&LQ7G3T@VQPO!!`]@&[U)$6?'\V\0S`6\];"K>9W<F\YMOM8Z:RCD'
MQT%+@V]R"Z<M#(9+AP5,II*:]J;2[!FC8+L?*-]G*#!K'SB6<PZ(@L55O79`
M:'J'T(BF<?)PDCW=,)ID='MJ6J<T6RP"]8K$0@@H_L#QF&7^_1U@HB+LG959
M/B1O`M8].5K,.@0V*N=%3WBGJ(E?6"$\.SYDDF^XAK"_^GJB\XO_M^JKN-RU
M$Z"/.*)A'.JN<L\_[#K_^2$[H9C]LXH[U.Y-/!T=2X]*CT-\_2\^\L<%%C,`
!````
`
end
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 13:32    [W:0.048 / U:11.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site