gpio: gpiolib-of: Allow compile testing
authorAlexander Stein <alexanders83@web.de>
Wed, 24 Feb 2016 21:05:19 +0000 (22:05 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 14 Apr 2016 12:05:14 +0000 (14:05 +0200)
Lower dependencies for compile testing.

Signed-off-by: Alexander Stein <alexanders83@web.de>
drivers/gpio/Kconfig

index 37f0378..9776ea5 100644 (file)
@@ -49,7 +49,7 @@ config GPIO_DEVRES
 
 config OF_GPIO
        def_bool y
-       depends on OF
+       depends on OF || COMPILE_TEST
 
 config GPIO_ACPI
        def_bool y