projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e73f0f0
)
reset: RESET_MCHP_SPARX5 should depend on ARCH_SPARX5
author
Geert Uytterhoeven
<geert+renesas@glider.be>
Fri, 25 Jun 2021 13:36:57 +0000
(15:36 +0200)
committer
Philipp Zabel
<p.zabel@pengutronix.de>
Wed, 21 Jul 2021 10:19:03 +0000
(12:19 +0200)
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>
Link:
https://lore.kernel.org/r/6e08f6f46123d0712397e901716b48f13fa5dc48.1624627657.git.geert@linux-m68k.org
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/reset/Kconfig
patch
|
blob
|
history
diff --git
a/drivers/reset/Kconfig
b/drivers/reset/Kconfig
index
328f70f
..
5656cac
100644
(file)
--- 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