diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2020-05-12 20:27:20 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2020-05-18 09:16:31 +0200 |
commit | b24bc583dea7e0cf2d5d68e3325e1689fa7c2275 (patch) | |
tree | 554bf9c56c1504403ad75e7a70b549b4e5ed4e8d /drivers/gpio | |
parent | gpio: xgene-sb: Drop redundant OF_GPIO dependency (diff) | |
download | linux-b24bc583dea7e0cf2d5d68e3325e1689fa7c2275.tar.xz linux-b24bc583dea7e0cf2d5d68e3325e1689fa7c2275.zip |
gpio: xgene-sb: Allow driver to be built with COMPILE_TEST
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>
Diffstat (limited to 'drivers/gpio')
-rw-r--r-- | drivers/gpio/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 739f179e28b1..8fc7893fba2b 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -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 |