diff mbox series

[4/6] gpio: rtd: enable building the module with COMPILE_TEST=y

Message ID 20250408-gpio-compile-test-v1-4-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 bb03457afa72..b0a689993bb3 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -604,7 +604,7 @@  config GPIO_ROCKCHIP
 
 config GPIO_RTD
 	tristate "Realtek DHC GPIO support"
-	depends on ARCH_REALTEK
+	depends on ARCH_REALTEK || COMPILE_TEST
 	default y
 	select GPIOLIB_IRQCHIP
 	help