staging: olpc_dcon: fix wrong dependencies in Kconfig file
authorJerry Lin <wahahab11@gmail.com>
Wed, 25 Sep 2019 07:42:43 +0000 (15:42 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 30 Sep 2019 19:58:00 +0000 (21:58 +0200)
To allow simultaneous support for XO-1 and XO-1.5.
This module require GPIO_CS5535 (for 1.0) and ACPI (for 1.5) now.

Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Jerry Lin <wahahab11@gmail.com>
Link: https://lore.kernel.org/r/20190925074243.GA24947@compute1
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/olpc_dcon/Kconfig

index 4ae271f..d1a0dea 100644 (file)
@@ -3,7 +3,7 @@ config FB_OLPC_DCON
        tristate "One Laptop Per Child Display CONtroller support"
        depends on OLPC && FB
        depends on I2C
-       depends on (GPIO_CS5535 || ACPI)
+       depends on GPIO_CS5535 && ACPI
        select BACKLIGHT_CLASS_DEVICE
        help
          In order to support very low power operation, the XO laptop uses a