serial: 8250_uniphier: add COMPILE_TEST option
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 6 Jun 2016 04:30:25 +0000 (13:30 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 25 Jun 2016 20:55:35 +0000 (13:55 -0700)
Add COMPILE_TEST for the compilation test coverage.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/Kconfig

index e46761d..b5a0f2e 100644 (file)
@@ -387,7 +387,8 @@ config SERIAL_8250_MT6577
 
 config SERIAL_8250_UNIPHIER
        tristate "Support for UniPhier on-chip UART"
-       depends on SERIAL_8250 && ARCH_UNIPHIER
+       depends on SERIAL_8250
+       depends on ARCH_UNIPHIER || COMPILE_TEST
        help
          If you have a UniPhier based board and want to use the on-chip
          serial ports, say Y to this option. If unsure, say N.