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>
This commit is contained in:
Bartosz Golaszewski 2025-04-07 09:13:20 +02:00 committed by Bartosz Golaszewski
parent 8416e1c971
commit f3592d252f

View File

@ -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