From: Geert Uytterhoeven Date: Tue, 10 May 2016 18:56:10 +0000 (+0200) Subject: serial: Make SERIAL_MPS2_UART depend on ARCH_MPS2 X-Git-Tag: v4.8-rc1~192^2~44 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3e5af8e04a3b104b6a8ccca4ff33644b5bcc21f0;p=thirdparty%2Fkernel%2Flinux.git serial: Make SERIAL_MPS2_UART depend on ARCH_MPS2 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 Reviewed-by: Vladimir Murzin Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig index b5c8ad1573f44..518db24a5b36d 100644 --- a/drivers/tty/serial/Kconfig +++ b/drivers/tty/serial/Kconfig @@ -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.