diff mbox series

[resend] mailbox: ARM_MHU_V3 should depend on ARM64

Message ID a391c86658d6c2e6d1aee583caa7a030731596d1.1724939823.git.geert+renesas@glider.be (mailing list archive)
State New
Headers show
Series [resend] mailbox: ARM_MHU_V3 should depend on ARM64 | expand

Commit Message

Geert Uytterhoeven Aug. 29, 2024, 1:58 p.m. UTC
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>
---
 drivers/mailbox/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Sudeep Holla Aug. 29, 2024, 4:21 p.m. UTC | #1
On Thu, Aug 29, 2024 at 03:58:53PM +0200, Geert Uytterhoeven wrote:
> 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")

Extremely sorry that I just noticed I didn't explicitly ack this change
though I agreed with it in the previous post.

Acked-by: Sudeep Holla <sudeep.holla@arm.com>
diff mbox series

Patch

diff --git a/drivers/mailbox/Kconfig b/drivers/mailbox/Kconfig
index 4eed972959279a07..cbd9206cd7de34c5 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