diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2016-06-06 18:41:00 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-06-25 14:31:04 -0700 |
commit | f8ba3647f30ab22daeb5110453e2dad8a2c1d841 (patch) | |
tree | 90c9c50be4dd5a6fc1426af05cfdea1171bf6e62 /drivers/tty | |
parent | 4ef03d328769eddbfeca1f1c958fdb181a69c341 (diff) | |
download | linux-f8ba3647f30ab22daeb5110453e2dad8a2c1d841.tar.gz linux-f8ba3647f30ab22daeb5110453e2dad8a2c1d841.tar.bz2 linux-f8ba3647f30ab22daeb5110453e2dad8a2c1d841.zip |
earlycon: mark earlycon code as __used iif the caller is built-in
Keep earlycon related symbols only when CONFIG_SERIAL_EARLYCON is
enabled and the driver is built-in. This will be helpful to clean
up ifdefs surrounding earlycon code in serial drivers.
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>
Diffstat (limited to 'drivers/tty')
0 files changed, 0 insertions, 0 deletions