diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2016-01-21 16:33:51 (GMT) |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2016-01-25 14:35:50 (GMT) |
commit | 71f50c6d9a2276f3ec85384bffe2aee1962f4669 (patch) | |
tree | 0236635f253212ab56274667b1012f42a5f4095a /drivers | |
parent | e68d7c143a62f372303f132cc69510eaaa4f1e04 (diff) | |
download | linux-71f50c6d9a2276f3ec85384bffe2aee1962f4669.tar.xz |
of: drop symbols declared by _OF_DECLARE() from modules
The users of this macro (OF_EARLYCON_DECLARE, CLK_OF_DECLARE,
IRQCHIP_DECLARE, etc.) are only parsed in the early boot stage.
Such symbols contained in modules are never used.
This commit fixes the link error introduced by commit b8d20e06eaad
("serial: 8250_uniphier: add earlycon support"); the combination
of CONFIG_SERIAL_8250_UNIPHIER=m and CONFIG_SERIAL_8250_CONSOLE=y
fails to link:
ERROR: "early_serial8250_setup" [drivers/tty/serial/8250/8250_uniphier.ko] undefined!
Fixes: b8d20e06eaad ("serial: 8250_uniphier: add earlycon support")
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions