summaryrefslogtreecommitdiff
path: root/drivers/gpio/Kconfig
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2024-12-03 17:23:16 +0100
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>2024-12-04 15:27:49 +0100
commit70327137eb3eb64f346191dcd0ee5140d5ab34d8 (patch)
treed906b741d115f16b7d2a0e94211a5e7b471682ee /drivers/gpio/Kconfig
parent40384c840ea1944d7c5a392e8975ed088ecf0b37 (diff)
downloadlwn-70327137eb3eb64f346191dcd0ee5140d5ab34d8.tar.gz
lwn-70327137eb3eb64f346191dcd0ee5140d5ab34d8.zip
gpio: GPIO_MVEBU should not default to y when compile-testing
Merely enabling compile-testing should not enable additional functionality. Fixes: 956ee0c5c969c9ca ("gpio: mvebu: allow building the module with COMPILE_TEST=y") Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/r/6b9e55dbf544297d5acf743f6fa473791ab10644.1733242798.git.geert+renesas@glider.be Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'drivers/gpio/Kconfig')
-rw-r--r--drivers/gpio/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 56fee58e281e..93ee3aa092f8 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -482,8 +482,9 @@ config GPIO_MT7621
Say yes here to support the Mediatek MT7621 SoC GPIO device.
config GPIO_MVEBU
- def_bool y
+ bool "Marvell Orion and EBU GPIO support" if COMPILE_TEST
depends on PLAT_ORION || ARCH_MVEBU || COMPILE_TEST
+ default PLAT_ORION || ARCH_MVEBU
select GENERIC_IRQ_CHIP
select REGMAP_MMIO