serial: make SiFive serial drivers depend on ARCH_ symbols
authorConor Dooley <conor.dooley@microchip.com>
Thu, 6 Apr 2023 20:57:50 +0000 (21:57 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 20 Apr 2023 11:40:38 +0000 (13:40 +0200)
As part of converting RISC-V SOC_FOO symbols to ARCH_FOO to match the
use of such symbols on other architectures, convert the SiFive serial
driver Kconfig entries from the SOC_ symbols to ARCH_ instead.

Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20230406-carnival-aspirate-fcf69a30078c@spud
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/Kconfig

index 39a0078f54f6bff048dedfa192b401272b4bc1c1..398e5aac2e77a326686310d4b3c2355502765ce2 100644 (file)
@@ -951,7 +951,7 @@ config SERIAL_OMAP_CONSOLE
 config SERIAL_SIFIVE
        tristate "SiFive UART support"
        depends on OF
-       default SOC_SIFIVE || SOC_CANAAN
+       default ARCH_SIFIVE || ARCH_CANAAN
        select SERIAL_CORE
        help
          Select this option if you are building a kernel for a device that
@@ -961,7 +961,7 @@ config SERIAL_SIFIVE
 config SERIAL_SIFIVE_CONSOLE
        bool "Console on SiFive UART"
        depends on SERIAL_SIFIVE=y
-       default SOC_SIFIVE || SOC_CANAAN
+       default ARCH_SIFIVE || ARCH_CANAAN
        select SERIAL_CORE_CONSOLE
        select SERIAL_EARLYCON
        help