diff mbox series

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

Message ID 20250408-gpio-compile-test-v1-2-140e108e9392@linaro.org
State New
Headers show
Series gpio: extend build coverage with COMPILE_TEST=y | expand

Commit Message

Bartosz Golaszewski April 8, 2025, 12:59 p.m. UTC
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>

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

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

Patch

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