Skip to content

Commit c8053b5

Browse files
committed
Revert "8250: uniphier: allow modular build with 8250 console"
This reverts commit d56edd7, it shouldn't have been applied, it was fixed properly with commit 71f50c6 ("of: drop symbols declared by _OF_DECLARE() from modules") Reported-by: Masahiro Yamada <yamada.masahiro@socionext.com> Cc: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 1f55c71 commit c8053b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/tty/serial/8250/8250_uniphier.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ struct uniphier8250_priv {
3535
spinlock_t atomic_write_lock;
3636
};
3737

38-
#if defined(CONFIG_SERIAL_8250_CONSOLE) && !defined(MODULE)
38+
#ifdef CONFIG_SERIAL_8250_CONSOLE
3939
static int __init uniphier_early_console_setup(struct earlycon_device *device,
4040
const char *options)
4141
{

0 commit comments

Comments
 (0)