]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
[media] cx2341x: move from media/i2c to media/common
authorHans Verkuil <hans.verkuil@cisco.com>
Wed, 6 Feb 2013 10:53:31 +0000 (07:53 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 8 Feb 2013 18:09:55 +0000 (16:09 -0200)
The cx2341x module is a helper module for conexant-based MPEG encoders.
It isn't an i2c module at all, instead it should be in common since it is
used by 7 pci and usb drivers to handle the MPEG setup.
It also shouldn't be visible in the config menu as it is always
selected automatically by those drivers that need it.

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/cx2341x.c [moved from drivers/media/i2c/cx2341x.c with 100% similarity]
drivers/media/i2c/Kconfig
drivers/media/i2c/Makefile

index d2a436ce77f8c6098ceff2ce4f4d3c974f41b35b..dfac52f312cf560e4f44aab30af817998c7ea183 100644 (file)
@@ -5,6 +5,9 @@ config MEDIA_COMMON_OPTIONS
 comment "common driver options"
        depends on MEDIA_COMMON_OPTIONS
 
+config VIDEO_CX2341X
+       tristate
+
 source "drivers/media/common/b2c2/Kconfig"
 source "drivers/media/common/saa7146/Kconfig"
 source "drivers/media/common/siano/Kconfig"
index b8e2e3a33a319d408efc812d9bb8109d85deffd5..9b8ea4fae06fa06df35c8dd8a7b6303291268acf 100644 (file)
@@ -1 +1,2 @@
 obj-y += b2c2/ saa7146/ siano/
+obj-$(CONFIG_VIDEO_CX2341X) += cx2341x.o
index ecdf7e3fdcf4eb1aeca112c9d6b31a8e1d19e2b2..97f14c24a40c6389cd757d054d7fe85f62345f8c 100644 (file)
@@ -317,20 +317,6 @@ config VIDEO_SAA717X
 
 source "drivers/media/i2c/cx25840/Kconfig"
 
-comment "MPEG video encoders"
-
-config VIDEO_CX2341X
-       tristate "Conexant CX2341x MPEG encoders"
-       depends on VIDEO_V4L2
-       ---help---
-         Support for the Conexant CX23416 MPEG encoders
-         and CX23415 MPEG encoder/decoders.
-
-         This module currently supports the encoding functions only.
-
-         To compile this driver as a module, choose M here: the
-         module will be called cx2341x.
-
 comment "Video encoders"
 
 config VIDEO_SAA7127
index b35e25798cd3ff30cb780f276b4d89c3e0029311..3a8334f205f360db1e803ce328e5b314395b8332 100644 (file)
@@ -64,6 +64,5 @@ 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_CX2341X) += cx2341x.o
 obj-$(CONFIG_VIDEO_AK881X)             += ak881x.o
 obj-$(CONFIG_VIDEO_IR_I2C)  += ir-kbd-i2c.o