diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2020-12-14 18:55:23 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2020-12-16 21:57:46 +0100 |
commit | 72db5d54d76300fb4153874b8466c0ebbb10208f (patch) | |
tree | 8328ba7e9cef5fb5793b6dc429cc7948654278f1 /drivers/gpio | |
parent | 80e493d2b74af7442eac968c060b26adbfaa96f9 (diff) |
gpio: hisi: Do not require ACPI for COMPILE_TEST
Make it clear that ACPI needs to be present only to get driver functional.
It is not required for compilation.
Fixes: 356b01a986a5 ("gpio: gpio-hisi: Add HiSilicon GPIO support")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20201214165524.43843-1-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 5358e9720e8c..c70f46e80a3b 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -300,7 +300,7 @@ config GPIO_GRGPIO config GPIO_HISI tristate "HiSilicon GPIO controller driver" - depends on (ARM64 || COMPILE_TEST) && ACPI + depends on (ARM64 && ACPI) || COMPILE_TEST select GPIO_GENERIC select GPIOLIB_IRQCHIP help |