Skip to contentSkip to conversation

V4L/DVB (4045): Fixes recursive dependency for I2C

PATCH New Mauro Carvalho Chehab 1 participant 1 message May 24, 2006 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 V4L/DVB (4045): Fixes recursive dependency for I2C

From: Jean Delvare <[email protected]>

Mixing "depends on I2C" and "select I2C" within the media subsystem leads to the following problem:
Warning! Found recursive dependency: I2C DVB_BUDGET DVB_BUDGET_PATCH DVB_AV7110 VIDEO_SAA7146_VV VIDEO_SAA7146 I2C

---

 drivers/media/common/Kconfig     |    2 +-
 drivers/media/dvb/pluto2/Kconfig |    1 -
 2 files changed, 1 insertions(+), 2 deletions(-)
drivers/media/common/Kconfig +1 -1
index 9c45b98..1a04db4 100644
@@ -1,6 +1,6 @@
 config VIDEO_SAA7146
 	tristate
-	select I2C
+	depends on I2C
 
 config VIDEO_SAA7146_VV
 	tristate
(quoted diff) +0 -0

b/drivers/media/dvb/pluto2/Kconfig
index 48252e9..7d8e6e8 100644

drivers/media/dvb/pluto2/Kconfig +0 -1
@@ -1,7 +1,6 @@
 config DVB_PLUTO2
 	tristate "Pluto2 cards"
 	depends on DVB_CORE && PCI && I2C
-	select I2C
 	select I2C_ALGOBIT
 	select DVB_TDA1004X
 	help