Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 14 Jan 2003 06:31:17 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 14 Jan 2003 06:31:17 -0500 Received: from hirsch.in-berlin.de ([192.109.42.6]:59822 "EHLO hirsch.in-berlin.de") by vger.kernel.org with ESMTP id ; Tue, 14 Jan 2003 06:31:14 -0500 X-Envelope-From: kraxel@bytesex.org Date: Tue, 14 Jan 2003 12:47:48 +0100 From: Gerd Knorr To: Linus Torvalds , Kernel List Subject: [bk patch] v4l: move some files around Message-ID: <20030114114747.GA28973@bytesex.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org 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&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