diff mbox series

[v1,1/2] gpio: hisi: Do not require ACPI for COMPILE_TEST

Message ID 20201214165524.43843-1-andriy.shevchenko@linux.intel.com
State New
Headers show
Series [v1,1/2] gpio: hisi: Do not require ACPI for COMPILE_TEST | expand

Commit Message

Andy Shevchenko Dec. 14, 2020, 4:55 p.m. UTC
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>
---
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Linus Walleij Dec. 14, 2020, 10:59 p.m. UTC | #1
On Mon, Dec 14, 2020 at 5:55 PM Andy Shevchenko
<andriy.shevchenko@linux.intel.com> wrote:

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

Both patches applied!
Thanks!

Yours,
Linus Walleij
diff mbox series

Patch

diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 9d198be2840c..a6987ff28d7c 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