[PATCH] V4L/DVB (4045): Fixes recursive dependency for I2C
authorJean Delvare <khali@linux-fr.org>
Wed, 24 May 2006 18:13:14 +0000 (15:13 -0300)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 25 May 2006 01:48:28 +0000 (18:48 -0700)
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@linux-fr.org>
Acked-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/media/common/Kconfig
drivers/media/dvb/pluto2/Kconfig

index 9c45b983e0de0f068a9ea8e73d7028e1df41f71b..1a04db4552da9dc2521867eaff7fd4c5666c7d89 100644 (file)
@@ -1,6 +1,6 @@
 config VIDEO_SAA7146
        tristate
-       select I2C
+       depends on I2C
 
 config VIDEO_SAA7146_VV
        tristate
index 48252e9ce5864eb3e1f81b2488df7fa58bef12e4..7d8e6e87bdbb23e63b8ec06c55a6c2972457dcba 100644 (file)
@@ -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