Skip to content

Commit f7200b6

Browse files
arndbtomba
authored andcommitted
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]>
1 parent 423431a commit f7200b6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/video/fbdev/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -360,6 +360,7 @@ config FB_CYBER2000_DDC
360360
config FB_CYBER2000_I2C
361361
bool "CyberPro 2000/2010/5000 I2C support"
362362
depends on FB_CYBER2000 && I2C && ARCH_NETWINDER
363+
depends on I2C=y || FB_CYBER2000=m
363364
select I2C_ALGOBIT
364365
help
365366
Enable support for the I2C video decoder interface on the
@@ -2296,6 +2297,7 @@ endchoice
22962297
config FB_MB862XX_I2C
22972298
bool "Support I2C bus on MB862XX GDC"
22982299
depends on FB_MB862XX && I2C
2300+
depends on FB_MB862XX=m || I2C=y
22992301
default y
23002302
help
23012303
Selecting this option adds Coral-P(A)/Lime GDC I2C bus adapter

0 commit comments

Comments
 (0)