]> git.karo-electronics.de Git - linux-beck.git/commitdiff
serial: Make SERIAL_MVEBU_UART depend on ARCH_MVEBU
authorGeert Uytterhoeven <geert@linux-m68k.org>
Fri, 18 Mar 2016 12:45:51 +0000 (13:45 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 30 Apr 2016 16:26:55 +0000 (09:26 -0700)
Enabling support for the UART on Marvell EBU SoCs only make sense when
compiling for Marvell EBU SoCs, unless compile-testing.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/Kconfig

index aa86994ca7340a7f6e6e0a91f89c2b5d0000a7ac..2857bd6f642c5a11be67539300c2f38e4bd1802b 100644 (file)
@@ -1605,6 +1605,7 @@ config SERIAL_STM32_CONSOLE
 
 config SERIAL_MVEBU_UART
        bool "Marvell EBU serial port support"
+       depends on ARCH_MVEBU || COMPILE_TEST
        select SERIAL_CORE
        help
          This driver is for Marvell EBU SoC's UART. If you have a machine