[PATCH] irqchip: STM32MP_EXTI should not default to y when compile-testing

Geert Uytterhoeven posted 1 patch 1 year ago
drivers/irqchip/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] irqchip: STM32MP_EXTI should not default to y when compile-testing
Posted by Geert Uytterhoeven 1 year ago
Merely enabling compile-testing should not enable additional
functionality.

Fixes: 0be58e0553812fcb ("irqchip/stm32mp-exti: Allow building as module")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 drivers/irqchip/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig
index 5784556adb36af73..c94aaadc0ed2be70 100644
--- a/drivers/irqchip/Kconfig
+++ b/drivers/irqchip/Kconfig
@@ -416,7 +416,7 @@ config PARTITION_PERCPU
 config STM32MP_EXTI
 	tristate "STM32MP extended interrupts and event controller"
 	depends on (ARCH_STM32 && !ARM_SINGLE_ARMV7M) || COMPILE_TEST
-	default y
+	default ARCH_STM32 && !ARM_SINGLE_ARMV7M
 	select IRQ_DOMAIN_HIERARCHY
 	select GENERIC_IRQ_CHIP
 	help
-- 
2.34.1
Re: [PATCH] irqchip: STM32MP_EXTI should not default to y when compile-testing
Posted by Antonio Borneo 1 year ago
On Tue, 2024-12-03 at 17:27 +0100, Geert Uytterhoeven wrote:
> Merely enabling compile-testing should not enable additional
> functionality.
> 
> Fixes: 0be58e0553812fcb ("irqchip/stm32mp-exti: Allow building as module")
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>


Reviewed-by: Antonio Borneo <antonio.borneo@foss.st.com>

Thanks!
Antonio