提交 c8053b58 编写于 作者: G Greg Kroah-Hartman

Revert "8250: uniphier: allow modular build with 8250 console"

This reverts commit d56edd7e, it
shouldn't have been applied, it was fixed properly with commit
71f50c6d ("of: drop symbols declared by
_OF_DECLARE() from modules")
Reported-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 1f55c718
...@@ -35,7 +35,7 @@ struct uniphier8250_priv { ...@@ -35,7 +35,7 @@ struct uniphier8250_priv {
spinlock_t atomic_write_lock; spinlock_t atomic_write_lock;
}; };
#if defined(CONFIG_SERIAL_8250_CONSOLE) && !defined(MODULE) #ifdef CONFIG_SERIAL_8250_CONSOLE
static int __init uniphier_early_console_setup(struct earlycon_device *device, static int __init uniphier_early_console_setup(struct earlycon_device *device,
const char *options) const char *options)
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册