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

From: Mauro Carvalho Chehab
Date: Wed May 24 2006 - 14:14:13 EST


From: Jean Delvare <khali@xxxxxxxxxxxx>

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

Signed-off-by: Jean Delvare <khali@xxxxxxxxxxxx>
Acked-by: Manu Abraham <manu@xxxxxxxxxxx>
Signed-off-by: Mauro Carvalho Chehab <mchehab@xxxxxxxxxxxxx>
---

drivers/media/common/Kconfig | 2 +-
drivers/media/dvb/pluto2/Kconfig | 1 -
2 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/drivers/media/common/Kconfig b/drivers/media/common/Kconfig
index 9c45b98..1a04db4 100644
--- a/drivers/media/common/Kconfig
+++ b/drivers/media/common/Kconfig
@@ -1,6 +1,6 @@
config VIDEO_SAA7146
tristate
- select I2C
+ depends on I2C

config VIDEO_SAA7146_VV
tristate
diff --git a/drivers/media/dvb/pluto2/Kconfig
b/drivers/media/dvb/pluto2/Kconfig
index 48252e9..7d8e6e8 100644
--- a/drivers/media/dvb/pluto2/Kconfig
+++ b/drivers/media/dvb/pluto2/Kconfig
@@ -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


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/