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: 356b01a986 ("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>
This commit is contained in:
Andy Shevchenko 2020-12-14 18:55:23 +02:00 committed by Linus Walleij
parent 80e493d2b7
commit 72db5d54d7

View File

@ -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