mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
serial: 8250_mtk: drop !defined(MODULE) conditional
The !defined(MODULE) conditional has been added to the
OF_EARLYCON_DECLARE() define.
This commit partially reverts commit 3f5921a60f ("serial:
8250/mediatek: fix building with SERIAL_8250=m").
Signed-off-by: Masahiro Yamada <[email protected]>
Acked-by: Matthias Brugger <[email protected]>
Acked-by: Arnd Bergmann <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
68b780598d
commit
ae73975f19
1 changed files with 1 additions and 1 deletions
|
|
@ -301,7 +301,7 @@ static struct platform_driver mtk8250_platform_driver = {
|
|||
};
|
||||
module_platform_driver(mtk8250_platform_driver);
|
||||
|
||||
#if defined(CONFIG_SERIAL_8250_CONSOLE) && !defined(MODULE)
|
||||
#ifdef CONFIG_SERIAL_8250_CONSOLE
|
||||
static int __init early_mtk8250_setup(struct earlycon_device *device,
|
||||
const char *options)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue