From: Andy Shevchenko Date: Mon, 14 Dec 2020 16:55:23 +0000 (+0200) Subject: gpio: hisi: Do not require ACPI for COMPILE_TEST X-Git-Tag: folio_4~554^2~1 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=72db5d54d76300fb4153874b8466c0ebbb10208f;p=users%2Fwilly%2Fpagecache.git 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 Link: https://lore.kernel.org/r/20201214165524.43843-1-andriy.shevchenko@linux.intel.com Signed-off-by: Linus Walleij --- diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 5358e9720e8ce..c70f46e80a3b7 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