]> Pileus Git - ~andy/linux/blobdiff - drivers/staging/olpc_dcon/Kconfig
staging/olpc_dcon: fix kconfig to fix build errors
[~andy/linux] / drivers / staging / olpc_dcon / Kconfig
index 2ff015d8450991ded2ba4c49ba80d80a286e64a5..d277f048789e615afda6c4db4bbcb81d1f64923c 100644 (file)
@@ -1,7 +1,8 @@
 config FB_OLPC_DCON
        tristate "One Laptop Per Child Display CONtroller support"
        depends on OLPC && FB
-       select I2C
+       depends on I2C
+       depends on (GPIO_CS5535 || GPIO_CS5535=n)
        select BACKLIGHT_CLASS_DEVICE
        ---help---
          In order to support very low power operation, the XO laptop uses a