[RFC 09/27] pinctrl: starfive: replace SOC_STARFIVE with ARCH_STARFIVE

Conor Dooley conor at kernel.org
Fri Sep 23 11:55:48 PDT 2022


From: Conor Dooley <conor.dooley at microchip.com>

At LPC we decided to replace the SOC_ symbols in arch/riscv with ARCH_
variants, for the sake of consistency between "incumbent" vendors and
those with legacy in other architectures. To that end, replace the
SOC_STARFIVE symbol with ARCH_STARFIVE.

Signed-off-by: Conor Dooley <conor.dooley at microchip.com>
---
 drivers/pinctrl/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig
index da87f2dc358b..8862a71de8af 100644
--- a/drivers/pinctrl/Kconfig
+++ b/drivers/pinctrl/Kconfig
@@ -433,9 +433,9 @@ config PINCTRL_ST
 
 config PINCTRL_STARFIVE
 	tristate "Pinctrl and GPIO driver for the StarFive JH7100 SoC"
-	depends on SOC_STARFIVE || COMPILE_TEST
+	depends on ARCH_STARFIVE || COMPILE_TEST
 	depends on OF
-	default SOC_STARFIVE
+	default ARCH_STARFIVE
 	select GENERIC_PINCTRL_GROUPS
 	select GENERIC_PINMUX_FUNCTIONS
 	select GENERIC_PINCONF
-- 
2.37.3




More information about the linux-riscv mailing list