Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
serial: 8250_early: Remove __init marking from early write
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 <[email protected]> Reviewed-by: Douglas Anderson <[email protected]> Tested-by: Brian Norris <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
- Loading branch information