]> www.infradead.org Git - linux.git/commitdiff
mailbox: ARM_MHU_V3 should depend on ARM64
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 29 Aug 2024 13:58:53 +0000 (15:58 +0200)
committerJassi Brar <jassisinghbrar@gmail.com>
Mon, 23 Sep 2024 00:19:17 +0000 (19:19 -0500)
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>
drivers/mailbox/Kconfig

index 4eed972959279a07111ef30a758640d1186185dc..cbd9206cd7de34c5c4578f678cc8949d010410ad 100644 (file)
@@ -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