From: Bartosz Golaszewski Date: Mon, 7 Apr 2025 07:13:20 +0000 (+0200) Subject: gpio: ich: enable building with COMPILE_TEST=y X-Git-Tag: v6.16-rc1~169^2~71 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=f3592d252f77;p=linux-block.git 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 Reviewed-by: Linus Walleij Link: https://lore.kernel.org/r/20250407-gpiochip-set-rv-gpio-part1-v1-11-78399683ca38@linaro.org Signed-off-by: Bartosz Golaszewski --- 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