Skip to contentSkip to conversation

gpio: hisi: Do not require ACPI for COMPILE_TEST

PATCH In review Andy Shevchenko 2 participants 3 messages Dec 14, 2020 GPIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 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")
---
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
index 9d198be2840c..a6987ff28d7c 100644
@@ -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
Signature · 1 line
2.29.2
#1 lore raw

PATCH 2/2 MAINTAINERS: Remove reference to non-existing file

GPIO HiSilicon driver doesn't provide any platform data header.

Fixes a8f25236e6e3 ("MAINTAINERS: Add maintainer for HiSilicon GPIO driver")
---
 MAINTAINERS | 1 -
 1 file changed, 1 deletion(-)
MAINTAINERS +0 -1
index 64a6c905107a..112a58976afe 100644
@@ -8005,7 +8005,6 @@ M:	Luo Jiaxing <[email protected]>
 L:	[email protected]
 S:	Maintained
 F:	drivers/gpio/gpio-hisi.c
-F:	include/linux/platform_data/gpio-hisi.h
 
 HISILICON HIGH PERFORMANCE RSA ENGINE DRIVER (HPRE)
 M:	Zaibo Xu <[email protected]>
Signature · 1 line
2.29.2