[media] bt8xx: move analog TV part to be together with DTV one
authorMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 14 Aug 2012 14:49:09 +0000 (11:49 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 15 Aug 2012 19:35:54 +0000 (16:35 -0300)
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
19 files changed:
drivers/media/pci/bt8xx/Kconfig
drivers/media/pci/bt8xx/Makefile
drivers/media/pci/bt8xx/bt848.h [moved from drivers/media/video/bt8xx/bt848.h with 100% similarity]
drivers/media/pci/bt8xx/bttv-audio-hook.c [moved from drivers/media/video/bt8xx/bttv-audio-hook.c with 100% similarity]
drivers/media/pci/bt8xx/bttv-audio-hook.h [moved from drivers/media/video/bt8xx/bttv-audio-hook.h with 100% similarity]
drivers/media/pci/bt8xx/bttv-cards.c [moved from drivers/media/video/bt8xx/bttv-cards.c with 100% similarity]
drivers/media/pci/bt8xx/bttv-driver.c [moved from drivers/media/video/bt8xx/bttv-driver.c with 100% similarity]
drivers/media/pci/bt8xx/bttv-gpio.c [moved from drivers/media/video/bt8xx/bttv-gpio.c with 100% similarity]
drivers/media/pci/bt8xx/bttv-i2c.c [moved from drivers/media/video/bt8xx/bttv-i2c.c with 100% similarity]
drivers/media/pci/bt8xx/bttv-if.c [moved from drivers/media/video/bt8xx/bttv-if.c with 100% similarity]
drivers/media/pci/bt8xx/bttv-input.c [moved from drivers/media/video/bt8xx/bttv-input.c with 100% similarity]
drivers/media/pci/bt8xx/bttv-risc.c [moved from drivers/media/video/bt8xx/bttv-risc.c with 100% similarity]
drivers/media/pci/bt8xx/bttv-vbi.c [moved from drivers/media/video/bt8xx/bttv-vbi.c with 100% similarity]
drivers/media/pci/bt8xx/bttv.h [moved from drivers/media/video/bt8xx/bttv.h with 100% similarity]
drivers/media/pci/bt8xx/bttvp.h [moved from drivers/media/video/bt8xx/bttvp.h with 100% similarity]
drivers/media/video/Kconfig
drivers/media/video/Makefile
drivers/media/video/bt8xx/Kconfig [deleted file]
drivers/media/video/bt8xx/Makefile [deleted file]

index 8668e634c7ec96da068ed22ba013352e32626ba0..f2667a5cc144269c5b3697a6232bc9e35ae302f7 100644 (file)
@@ -1,5 +1,26 @@
+config VIDEO_BT848
+       tristate "BT848 Video For Linux"
+       depends on VIDEO_DEV && PCI && I2C && VIDEO_V4L2
+       select I2C_ALGOBIT
+       select VIDEO_BTCX
+       select VIDEOBUF_DMA_SG
+       depends on RC_CORE
+       select VIDEO_TUNER
+       select VIDEO_TVEEPROM
+       select VIDEO_MSP3400 if VIDEO_HELPER_CHIPS_AUTO
+       select VIDEO_TVAUDIO if VIDEO_HELPER_CHIPS_AUTO
+       select VIDEO_TDA7432 if VIDEO_HELPER_CHIPS_AUTO
+       select VIDEO_SAA6588 if VIDEO_HELPER_CHIPS_AUTO
+       ---help---
+         Support for BT848 based frame grabber/overlay boards. This includes
+         the Miro, Hauppauge and STB boards. Please read the material in
+         <file:Documentation/video4linux/bttv/> for more information.
+
+         To compile this driver as a module, choose M here: the
+         module will be called bttv.
+
 config DVB_BT8XX
-       tristate "BT8xx based PCI cards"
+       tristate "DVB/ATSC Support for bt878 based TV cards"
        depends on DVB_CORE && PCI && I2C && VIDEO_BT848
        select DVB_MT352 if !DVB_FE_CUSTOMISE
        select DVB_SP887X if !DVB_FE_CUSTOMISE
index c008d0c135d6a174975520175e07e83716bd8832..ae347b78fccfcb1ae999359ea8a4d56a58c986f0 100644 (file)
@@ -1,6 +1,11 @@
+bttv-objs      :=      bttv-driver.o bttv-cards.o bttv-if.o \
+                      bttv-risc.o bttv-vbi.o bttv-i2c.o bttv-gpio.o \
+                      bttv-input.o bttv-audio-hook.o
+
+obj-$(CONFIG_VIDEO_BT848) += bttv.o
 obj-$(CONFIG_DVB_BT8XX) += bt878.o dvb-bt8xx.o dst.o dst_ca.o
 
 ccflags-y += -Idrivers/media/dvb-core
 ccflags-y += -Idrivers/media/dvb-frontends
-ccflags-y += -Idrivers/media/video/bt8xx
+ccflags-y += -Idrivers/media/video
 ccflags-y += -Idrivers/media/tuners
index f52799232029074809ac1329405afecdf55cf112..f3d4228dbb0e493b4ecd0bc97ac278ad5b83c862 100644 (file)
@@ -619,8 +619,6 @@ menuconfig V4L_PCI_DRIVERS
 
 if V4L_PCI_DRIVERS
 
-source "drivers/media/video/bt8xx/Kconfig"
-
 source "drivers/media/video/cx18/Kconfig"
 
 source "drivers/media/video/cx23885/Kconfig"
index 4ad5bd9246bf13ccaa8ac544de3ed6e117355b48..df60ffacdc581ebd1e2a4e0ce2975741a0c1b52b 100644 (file)
@@ -87,7 +87,6 @@ obj-$(CONFIG_SOC_CAMERA_TW9910)               += tw9910.o
 
 # And now the v4l2 drivers:
 
-obj-$(CONFIG_VIDEO_BT848) += bt8xx/
 obj-$(CONFIG_VIDEO_ZORAN) += zoran/
 obj-$(CONFIG_VIDEO_CQCAM) += c-qcam.o
 obj-$(CONFIG_VIDEO_BWQCAM) += bw-qcam.o
diff --git a/drivers/media/video/bt8xx/Kconfig b/drivers/media/video/bt8xx/Kconfig
deleted file mode 100644 (file)
index 7da5c2e..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-config VIDEO_BT848
-       tristate "BT848 Video For Linux"
-       depends on VIDEO_DEV && PCI && I2C && VIDEO_V4L2
-       select I2C_ALGOBIT
-       select VIDEO_BTCX
-       select VIDEOBUF_DMA_SG
-       depends on RC_CORE
-       select VIDEO_TUNER
-       select VIDEO_TVEEPROM
-       select VIDEO_MSP3400 if VIDEO_HELPER_CHIPS_AUTO
-       select VIDEO_TVAUDIO if VIDEO_HELPER_CHIPS_AUTO
-       select VIDEO_TDA7432 if VIDEO_HELPER_CHIPS_AUTO
-       select VIDEO_SAA6588 if VIDEO_HELPER_CHIPS_AUTO
-       ---help---
-         Support for BT848 based frame grabber/overlay boards. This includes
-         the Miro, Hauppauge and STB boards. Please read the material in
-         <file:Documentation/video4linux/bttv/> for more information.
-
-         To compile this driver as a module, choose M here: the
-         module will be called bttv.
-
-config VIDEO_BT848_DVB
-       bool "DVB/ATSC Support for bt878 based TV cards"
-       depends on VIDEO_BT848 && DVB_CORE
-       select DVB_BT8XX
-       ---help---
-         This adds support for DVB/ATSC cards based on the BT878 chip.
diff --git a/drivers/media/video/bt8xx/Makefile b/drivers/media/video/bt8xx/Makefile
deleted file mode 100644 (file)
index f6351a2..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-#
-# Makefile for the video capture/playback device drivers.
-#
-
-bttv-objs      :=      bttv-driver.o bttv-cards.o bttv-if.o \
-                      bttv-risc.o bttv-vbi.o bttv-i2c.o bttv-gpio.o \
-                      bttv-input.o bttv-audio-hook.o
-
-obj-$(CONFIG_VIDEO_BT848) += bttv.o
-
-ccflags-y += -Idrivers/media/video
-ccflags-y += -Idrivers/media/tuners
-ccflags-y += -Idrivers/media/dvb-core