[PATCH 4/5] serial: 8250_ingenic: Remove __init marking from early write

2017-07-17 Thread Jeffy Chen
The earlycon would be alive outside the init code in these cases: 1/ we have keep_bootcon in cmdline. 2/ we don't have a real console to switch to. So remove the __init marking to avoid invalid memory access. Signed-off-by: Jeffy Chen --- drivers/tty/serial/8250/8250_ingenic.c | 8 1

[RFC PATCH 4/5] serial: 8250_ingenic: Remove __init marking from early write

2017-07-17 Thread Jeffy Chen
The earlycon would be alive outside the init code in these cases: 1/ we have keep_bootcon in cmdline. 2/ we don't have a real console to switch to. So remove the __init marking to avoid invalid memory access. Signed-off-by: Jeffy Chen --- drivers/tty/serial/8250/8250_ingenic.c | 8 1