mirror of
https://gitee.com/open-loongarch/linux-6.12.git
synced 2026-10-25 20:47:11 +08:00
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> Signed-off-by: maoxiaochuan <maoxiaochuan@loongson.cn>
This commit is contained in:
committed by
maoxiaochuan
parent
e079a06415
commit
55dcc4e0b4
@@ -854,7 +854,7 @@ config GPIO_ZYNQMP_MODEPIN
|
||||
|
||||
config GPIO_LOONGSON1
|
||||
tristate "Loongson1 GPIO support"
|
||||
depends on MACH_LOONGSON32
|
||||
depends on MACH_LOONGSON32 || COMPILE_TEST
|
||||
select GPIO_GENERIC
|
||||
help
|
||||
Say Y or M here to support GPIO on Loongson1 SoCs.
|
||||
|
||||
Reference in New Issue
Block a user