Skip to content

Commit 80d7319

Browse files
author
Bartosz Golaszewski
committed
gpio: loongson1: allow building the module with COMPILE_TEST enabled
Increase build coverage by allowing the module to be built with COMPILE_TEST=y. Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Link: https://lore.kernel.org/r/20250910-gpio-mmio-gpio-conv-part4-v2-1-f3d1a4c57124@linaro.org Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
1 parent 571c65b commit 80d7319

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/gpio/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -885,7 +885,7 @@ config GPIO_ZYNQMP_MODEPIN
885885

886886
config GPIO_LOONGSON1
887887
tristate "Loongson1 GPIO support"
888-
depends on MACH_LOONGSON32
888+
depends on MACH_LOONGSON32 || COMPILE_TEST
889889
select GPIO_GENERIC
890890
help
891891
Say Y or M here to support GPIO on Loongson1 SoCs.

0 commit comments

Comments
 (0)