serial: Make SERIAL_MPS2_UART depend on ARCH_MPS2
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 10 May 2016 18:56:10 +0000 (20:56 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 25 Jun 2016 17:40:33 +0000 (10:40 -0700)
Enabling support for the UART on the ARM MPS2 platform only make sense
when compiling for the ARM MPS2 platform, unless compile-testing.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Vladimir Murzin <vladimir.murzin@arm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/Kconfig

index b5c8ad1..518db24 100644 (file)
@@ -1478,7 +1478,7 @@ config SERIAL_MPS2_UART_CONSOLE
 
 config SERIAL_MPS2_UART
        bool "MPS2 UART port"
-       depends on ARM || COMPILE_TEST
+       depends on ARCH_MPS2 || COMPILE_TEST
        select SERIAL_CORE
        help
          This driver support the UART ports on ARM MPS2.