Skip to content

Commit 5b44955

Browse files
geertuMarc Zyngier
authored andcommitted
irqchip/apple-aic: APPLE_AIC should depend on ARCH_APPLE
The Apple Interrupt Controller is only present on Apple Silicon SoCs. Hence add a dependency on ARCH_APPLE, to prevent asking the user about this driver when configuring a kernel without Apple Silicon SoC support. Drop the default, as ARCH_APPLE already selects APPLE_AIC. Fixes: 76cde26 ("irqchip/apple-aic: Add support for the Apple Interrupt Controller") Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Acked-by: Hector Martin <marcan@marcan.st> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/f37e8daea37d50651d2164b0b3dad90780188548.1618316398.git.geert+renesas@glider.be
1 parent be1c2bb commit 5b44955

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/irqchip/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -596,7 +596,7 @@ config IRQ_IDT3243X
596596
config APPLE_AIC
597597
bool "Apple Interrupt Controller (AIC)"
598598
depends on ARM64
599-
default ARCH_APPLE
599+
depends on ARCH_APPLE || COMPILE_TEST
600600
help
601601
Support for the Apple Interrupt Controller found on Apple Silicon SoCs,
602602
such as the M1.

0 commit comments

Comments
 (0)