[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <6e08f6f46123d0712397e901716b48f13fa5dc48.1624627657.git.geert@linux-m68k.org>
Date: Fri, 25 Jun 2021 15:36:57 +0200
From: Geert Uytterhoeven <geert@...ux-m68k.org>
To: Steen Hegelund <steen.hegelund@...rochip.com>,
Alexandre Belloni <alexandre.belloni@...tlin.com>,
Philipp Zabel <p.zabel@...gutronix.de>
Cc: linux-kernel@...r.kernel.org,
Geert Uytterhoeven <geert+renesas@...der.be>
Subject: [PATCH] reset: RESET_MCHP_SPARX5 should depend on ARCH_SPARX5
From: Geert Uytterhoeven <geert+renesas@...der.be>
The Microchip Sparx5 switch reset block is only present on Microchip
Sparx5 SoCs. Hence add a dependency on ARCH_SPARX5, to prevent asking
the user about this driver when configuring a kernel without Sparx5
support.
Fixes: 453ed4283bebd077 ("reset: mchp: sparx5: add switch reset driver")
Signed-off-by: Geert Uytterhoeven <geert+renesas@...der.be>
---
drivers/reset/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig
index 1a0403927a99be42..e1f6a53cf688401e 100644
--- a/drivers/reset/Kconfig
+++ b/drivers/reset/Kconfig
@@ -116,7 +116,7 @@ config RESET_LPC18XX
config RESET_MCHP_SPARX5
bool "Microchip Sparx5 reset driver"
- depends on HAS_IOMEM || COMPILE_TEST
+ depends on ARCH_SPARX5 || COMPILE_TEST
default y if SPARX5_SWITCH
select MFD_SYSCON
help
--
2.25.1
Powered by blists - more mailing lists