aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>2025-04-07 09:13:20 +0200
committerBartosz Golaszewski <brgl@bgdev.pl>2025-04-17 13:58:55 +0200
commitf3592d252f77e50c737f91389c3a6b6926f82fc3 (patch)
treeb91e32d276bbeaea881d47f2a48d811d1e4f63cb
parentgpio: htc-egpio: use new line value setter callbacks (diff)
downloadwireguard-linux-f3592d252f77e50c737f91389c3a6b6926f82fc3.tar.xz
wireguard-linux-f3592d252f77e50c737f91389c3a6b6926f82fc3.zip
gpio: ich: enable building with COMPILE_TEST=y
Extend the build coverage by allowing to build the module with COMPILE_TEST enabled. Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Link: https://lore.kernel.org/r/20250407-gpiochip-set-rv-gpio-part1-v1-11-78399683ca38@linaro.org Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
-rw-r--r--drivers/gpio/Kconfig3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 12baf7805d7e..c4f7cc024efb 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -380,8 +380,7 @@ config GPIO_HLWD
config GPIO_ICH
tristate "Intel ICH GPIO"
- depends on X86
- depends on LPC_ICH
+ depends on (X86 && LPC_ICH) || COMPILE_TEST
help
Say yes here to support the GPIO functionality of a number of Intel
ICH-based chipsets. Currently supported devices: ICH6, ICH7, ICH8