]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Oct 2024 10:00:03 +0000 (12:00 +0200)
[ Upstream commit 0e4ed48292c55eeb0afab22f8930b556f17eaad2 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/mailbox/Kconfig

index 3b8842c4a34015793bea4c116e6e3cd3c58b1427..8d4d1cbb1d4ca62540891168f397a181a46ddd46 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