Commit ae73975f authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Greg Kroah-Hartman

serial: 8250_mtk: drop !defined(MODULE) conditional

The !defined(MODULE) conditional has been added to the

This commit partially reverts commit 3f5921a6 ("serial:
8250/mediatek: fix building with SERIAL_8250=m").
Signed-off-by: default avatarMasahiro Yamada <>
Acked-by: default avatarMatthias Brugger <>
Acked-by: default avatarArnd Bergmann <>
Signed-off-by: default avatarGreg Kroah-Hartman <>
parent 68b78059
......@@ -301,7 +301,7 @@ static struct platform_driver mtk8250_platform_driver = {
#if defined(CONFIG_SERIAL_8250_CONSOLE) && !defined(MODULE)
static int __init early_mtk8250_setup(struct earlycon_device *device,
const char *options)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment