irqchip/apple-aic: APPLE_AIC should depend on ARCH_APPLE
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 13 Apr 2021 12:21:58 +0000 (14:21 +0200)
committerMarc Zyngier <maz@kernel.org>
Mon, 10 May 2021 13:12:48 +0000 (14:12 +0100)
commit5b44955dc19808fa209444ccb192343050e95ab0
tree46a4bfebc82fff940a49ecddc863bc14e877f4fa
parentbe1c2bb3ba5a39c20b1d54e01ffbcb2b1ca7e46c
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: 76cde26394114f6a ("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
drivers/irqchip/Kconfig