summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2024-08-29 15:58:53 +0200
committerJassi Brar <jassisinghbrar@gmail.com>2024-09-23 02:19:17 +0200
commit0e4ed48292c55eeb0afab22f8930b556f17eaad2 (patch)
tree206aff7961733faa6292b29477b0549260c18da3
parentLinux 6.11-rc7 (diff)
downloadlinux-0e4ed48292c55eeb0afab22f8930b556f17eaad2.tar.xz
linux-0e4ed48292c55eeb0afab22f8930b556f17eaad2.zip
mailbox: ARM_MHU_V3 should depend on ARM64
The ARM MHUv3 controller is only present on ARM64 SoCs. Hence add a dependency on ARM64, to prevent asking the user about this driver when configuring a kernel for a different architecture than ARM64. Fixes: ca1a8680b134b5e6 ("mailbox: arm_mhuv3: Add driver") Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Acked-by: Sudeep Holla <sudeep.holla@arm.com> Signed-off-by: Jassi Brar <jassisinghbrar@gmail.com>
-rw-r--r--drivers/mailbox/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mailbox/Kconfig b/drivers/mailbox/Kconfig
index 4eed97295927..cbd9206cd7de 100644
--- a/drivers/mailbox/Kconfig
+++ b/drivers/mailbox/Kconfig
@@ -25,6 +25,7 @@ config ARM_MHU_V2
config ARM_MHU_V3
tristate "ARM MHUv3 Mailbox"
+ depends on ARM64 || COMPILE_TEST
depends on HAS_IOMEM || COMPILE_TEST
depends on OF
help