LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] reset: RESET_MCHP_SPARX5 should depend on ARCH_SPARX5
@ 2021-06-25 13:36 Geert Uytterhoeven
2021-07-21 10:21 ` Philipp Zabel
0 siblings, 1 reply; 2+ messages in thread
From: Geert Uytterhoeven @ 2021-06-25 13:36 UTC (permalink / raw)
To: Steen Hegelund, Alexandre Belloni, Philipp Zabel
Cc: linux-kernel, Geert Uytterhoeven
From: Geert Uytterhoeven <geert+renesas@glider.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@glider.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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] reset: RESET_MCHP_SPARX5 should depend on ARCH_SPARX5
2021-06-25 13:36 [PATCH] reset: RESET_MCHP_SPARX5 should depend on ARCH_SPARX5 Geert Uytterhoeven
@ 2021-07-21 10:21 ` Philipp Zabel
0 siblings, 0 replies; 2+ messages in thread
From: Philipp Zabel @ 2021-07-21 10:21 UTC (permalink / raw)
To: Geert Uytterhoeven, Steen Hegelund, Alexandre Belloni
Cc: linux-kernel, Geert Uytterhoeven
Hi Geert,
On Fri, 2021-06-25 at 15:36 +0200, Geert Uytterhoeven wrote:
> From: Geert Uytterhoeven <geert+renesas@glider.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@glider.be>
Thank you, applied to reset/fixes.
regards
Philipp
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-07-21 10:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-25 13:36 [PATCH] reset: RESET_MCHP_SPARX5 should depend on ARCH_SPARX5 Geert Uytterhoeven
2021-07-21 10:21 ` Philipp Zabel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).