V4L/DVB (5639): Fix Kconfig dependencies for ivtv
authorMauro Carvalho Chehab <mchehab@infradead.org>
Mon, 21 May 2007 10:10:09 +0000 (07:10 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Tue, 22 May 2007 19:00:12 +0000 (16:00 -0300)
ivtv were wrongly marked as dependent of USB.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/ivtv/Kconfig
drivers/media/video/ivtv/ivtv-driver.h

index 0cc98a0e249671cf4337862fcdc33f6bd4aed759..1aaeaa02f158ec0efdcb32df39d3f0ad269a4fea 100644 (file)
@@ -1,6 +1,6 @@
 config VIDEO_IVTV
        tristate "Conexant cx23416/cx23415 MPEG encoder/decoder support"
-       depends on VIDEO_V4L1 && VIDEO_V4L2 && USB && I2C && EXPERIMENTAL && PCI
+       depends on VIDEO_V4L1 && VIDEO_V4L2 && PCI && I2C && EXPERIMENTAL
        select FW_LOADER
        select VIDEO_TUNER
        select VIDEO_TVEEPROM
index 9a412d6c6d06c6ec308bb1c3f7876baae6725f6c..552f04511eadf9ff11373d7640163c1cde0a9d64 100644 (file)
 
 #include <media/ivtv.h>
 
-#ifdef CONFIG_LIRC_I2C
-#  error "This driver is not compatible with the LIRC I2C kernel configuration option."
-#endif /* CONFIG_LIRC_I2C */
-
-#ifndef CONFIG_PCI
-#  error "This driver requires kernel PCI support."
-#endif /* CONFIG_PCI */
-
 #define IVTV_ENCODER_OFFSET    0x00000000
 #define IVTV_ENCODER_SIZE      0x00800000      /* Last half isn't needed 0x01000000 */