serial: 8250_ingenic: drop #if conditional surrounding earlycon code
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 6 Jun 2016 09:41:03 +0000 (18:41 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 25 Jun 2016 21:31:04 +0000 (14:31 -0700)
commit755dd8aa12d162e40f3c5bd0031ad2f29ce6bc68
tree03f81ae5160fbeaf7f148f431404c345e6b3f26d
parentae73975f193547cf50e61480b92781b199574b83
serial: 8250_ingenic: drop #if conditional surrounding earlycon code

The #if defined(CONFIG_SERIAL_EARLYCON) && !defined(MODULE)
conditional has been added to the OF_EARLYCON_DECLARE() define.

The same conditional can be dropped from 8250_ingenic.c because
the unused symbols will be marked as __maybe_unsed.
Also, the Kconfig dependency can become much simpler.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_ingenic.c
drivers/tty/serial/8250/Kconfig