aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2014-04-24 13:28:19 +0100
committerTomi Valkeinen <[email protected]>2014-05-09 12:55:45 +0300
commitf7200b6834700abf1cb2686ea1d1d6ef2cd66a2f (patch)
tree9edb12154ccc6d916910d411f020a7bd5042431b
parent423431a3b5e20d82be6b7db9b72725e1f72e469e (diff)
video: clarify I2C dependencies
We can only use I2C support in frame buffer drivers if Either I2C is built-in, or both I2C and the driver itself are loadable modules. Fix this dependency for MB862XX and CyberPro frame buffers. Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Peter Griffin <[email protected]> Cc: Jean-Christophe Plagniol-Villard <[email protected]> Cc: Tomi Valkeinen <[email protected]> Cc: [email protected] Cc: Russell King <[email protected]> Cc: Anatolij Gustschin <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
-rw-r--r--drivers/video/fbdev/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/fbdev/Kconfig b/drivers/video/fbdev/Kconfig
index 758685e8046d..a8c9b2de28bd 100644
--- a/drivers/video/fbdev/Kconfig
+++ b/drivers/video/fbdev/Kconfig
@@ -360,6 +360,7 @@ config FB_CYBER2000_DDC
config FB_CYBER2000_I2C
bool "CyberPro 2000/2010/5000 I2C support"
depends on FB_CYBER2000 && I2C && ARCH_NETWINDER
+ depends on I2C=y || FB_CYBER2000=m
select I2C_ALGOBIT
help
Enable support for the I2C video decoder interface on the
@@ -2296,6 +2297,7 @@ endchoice
config FB_MB862XX_I2C
bool "Support I2C bus on MB862XX GDC"
depends on FB_MB862XX && I2C
+ depends on FB_MB862XX=m || I2C=y
default y
help
Selecting this option adds Coral-P(A)/Lime GDC I2C bus adapter