[PATCH 2/6] gpio: msc313: enable building the module with COMPILE_TEST=y

From: Bartosz Golaszewski
Date: Tue Apr 08 2025 - 09:11:54 EST


From: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>

Extend the build coverage by allowing to build the module with
COMPILE_TEST enabled.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>
---
drivers/gpio/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index f76d08880fe5..9b25bd667b76 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -866,7 +866,7 @@ config GPIO_AMD_FCH

config GPIO_MSC313
bool "MStar MSC313 GPIO support"
- depends on ARCH_MSTARV7
+ depends on ARCH_MSTARV7 || COMPILE_TEST
default ARCH_MSTARV7
select GPIOLIB_IRQCHIP
select IRQ_DOMAIN_HIERARCHY

--
2.45.2