gpio: xgene-sb: Allow driver to be built with COMPILE_TEST
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 12 May 2020 18:27:20 +0000 (21:27 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 18 May 2020 07:16:31 +0000 (09:16 +0200)
Allow driver to be built with COMPILE_TEST for better test coverage.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20200512182721.55127-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/Kconfig

index 739f179..8fc7893 100644 (file)
@@ -638,7 +638,7 @@ config GPIO_XGENE
 
 config GPIO_XGENE_SB
        tristate "APM X-Gene GPIO standby controller support"
-       depends on ARCH_XGENE
+       depends on (ARCH_XGENE || COMPILE_TEST)
        select GPIO_GENERIC
        select GPIOLIB_IRQCHIP
        select IRQ_DOMAIN_HIERARCHY