]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[media] btcx-risc: move from media/i2c to media/common
authorHans Verkuil <hans.verkuil@cisco.com>
Wed, 6 Feb 2013 10:57:57 +0000 (07:57 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 8 Feb 2013 18:11:25 +0000 (16:11 -0200)
The btcx-risc module is a helper module for bttv/conexant based TV cards.
It isn't an i2c module at all, instead it should be in common since it is
used by 4 pci drivers.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/common/Kconfig
drivers/media/common/Makefile
drivers/media/common/btcx-risc.c [moved from drivers/media/i2c/btcx-risc.c with 100% similarity]
drivers/media/common/btcx-risc.h [moved from drivers/media/i2c/btcx-risc.h with 100% similarity]
drivers/media/i2c/Kconfig
drivers/media/i2c/Makefile
drivers/media/pci/bt8xx/Makefile
drivers/media/pci/cx23885/Makefile
drivers/media/pci/cx25821/Makefile
drivers/media/pci/cx88/Makefile

index dfac52f312cf560e4f44aab30af817998c7ea183..28c8a602e7ef88ceca25bfe32b4dc5d46c2917e8 100644 (file)
@@ -8,6 +8,10 @@ comment "common driver options"
 config VIDEO_CX2341X
        tristate
 
+config VIDEO_BTCX
+       depends on PCI
+       tristate
+
 source "drivers/media/common/b2c2/Kconfig"
 source "drivers/media/common/saa7146/Kconfig"
 source "drivers/media/common/siano/Kconfig"
index 9b8ea4fae06fa06df35c8dd8a7b6303291268acf..cfe34499d993d44a5e4d5d6a97aeef107538f944 100644 (file)
@@ -1,2 +1,3 @@
 obj-y += b2c2/ saa7146/ siano/
 obj-$(CONFIG_VIDEO_CX2341X) += cx2341x.o
+obj-$(CONFIG_VIDEO_BTCX)  += btcx-risc.o
index 97f14c24a40c6389cd757d054d7fe85f62345f8c..cd2b17148ad67736c0fd1d7e1491802d4ca52c12 100644 (file)
@@ -2,10 +2,6 @@
 # Generic video config states
 #
 
-config VIDEO_BTCX
-       depends on PCI
-       tristate
-
 config VIDEO_TVEEPROM
        tristate
        depends on I2C
index 3a8334f205f360db1e803ce328e5b314395b8332..3691e70f4e7589cdbd9cdd64d58063fe9c39f623 100644 (file)
@@ -63,6 +63,5 @@ obj-$(CONFIG_VIDEO_S5C73M3)   += s5c73m3/
 obj-$(CONFIG_VIDEO_ADP1653)    += adp1653.o
 obj-$(CONFIG_VIDEO_AS3645A)    += as3645a.o
 obj-$(CONFIG_VIDEO_SMIAPP_PLL) += smiapp-pll.o
-obj-$(CONFIG_VIDEO_BTCX)  += btcx-risc.o
 obj-$(CONFIG_VIDEO_AK881X)             += ak881x.o
 obj-$(CONFIG_VIDEO_IR_I2C)  += ir-kbd-i2c.o
index 5f06597c6a6e1d59c95e3fc3aca613ba7386cdcc..f9fe7c4e7d53bae5f5e116ad3967ebc213c7ebc1 100644 (file)
@@ -8,4 +8,5 @@ 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/i2c
+ccflags-y += -Idrivers/media/common
 ccflags-y += -Idrivers/media/tuners
index a2cbdcf15a8c48fde4cd79c43b33dd92c81a8def..2a2cafb8cf5be31b48daf3c881aa50871e9a90fa 100644 (file)
@@ -8,6 +8,7 @@ obj-$(CONFIG_VIDEO_CX23885) += cx23885.o
 obj-$(CONFIG_MEDIA_ALTERA_CI) += altera-ci.o
 
 ccflags-y += -Idrivers/media/i2c
+ccflags-y += -Idrivers/media/common
 ccflags-y += -Idrivers/media/tuners
 ccflags-y += -Idrivers/media/dvb-core
 ccflags-y += -Idrivers/media/dvb-frontends
index 5bf3ea4c1556a642d11dc7709faf8cb64a6a0b9e..caa32b7b51f8765283c403d20fa93d2f0d886b3c 100644 (file)
@@ -8,6 +8,7 @@ obj-$(CONFIG_VIDEO_CX25821) += cx25821.o
 obj-$(CONFIG_VIDEO_CX25821_ALSA) += cx25821-alsa.o
 
 ccflags-y += -Idrivers/media/i2c
+ccflags-y += -Idrivers/media/common
 ccflags-y += -Idrivers/media/tuners
 ccflags-y += -Idrivers/media/dvb-core
 ccflags-y += -Idrivers/media/dvb-frontends
index d3679c3ee248bf5bf5e14d1d0de2ea166bb2f1aa..8619c1becee240311282200dcded6e7b20a9de8b 100644 (file)
@@ -11,6 +11,7 @@ obj-$(CONFIG_VIDEO_CX88_DVB) += cx88-dvb.o
 obj-$(CONFIG_VIDEO_CX88_VP3054) += cx88-vp3054-i2c.o
 
 ccflags-y += -Idrivers/media/i2c
+ccflags-y += -Idrivers/media/common
 ccflags-y += -Idrivers/media/tuners
 ccflags-y += -Idrivers/media/dvb-core
 ccflags-y += -Idrivers/media/dvb-frontends