]> git.baikalelectronics.ru Git - kernel.git/commit
irqchip/imx: IMX_INTMUX should not default to y, unconditionally
authorGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 8 Feb 2021 14:56:05 +0000 (15:56 +0100)
committerMarc Zyngier <maz@kernel.org>
Sun, 14 Feb 2021 12:01:16 +0000 (12:01 +0000)
commita890caeb2ba40ca183969230e204ab144f258357
tree0a0279e2f8d44cbc80a8fb0891d2b82dc6a1e1c4
parentc1f664d2400e73d5ca0fcd067fa5847d2c789c11
irqchip/imx: IMX_INTMUX should not default to y, unconditionally

Merely enabling CONFIG_COMPILE_TEST should not enable additional code.
To fix this, restrict the automatic enabling of IMX_INTMUX to ARCH_MXC,
and ask the user in case of compile-testing.

Fixes: 66968d7dfc3f5451 ("irqchip: Add COMPILE_TEST support for IMX_INTMUX")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20210208145605.422943-1-geert+renesas@glider.be
drivers/irqchip/Kconfig