mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
serial: fix 8250 early console setup
the early setup function serial8250_console_early_setup() can be called from non __init code (eg. hotpluggable serial ports like serial_cs) so remove the __init from the call chain to avoid crashes. Signed-off-by: Daniel Ritz <[email protected]> Cc: Yinghai Lu <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
1a3f2ea336
commit
b6b1d87785
3 changed files with 3 additions and 3 deletions
|
|
@ -732,7 +732,7 @@ int __init add_preferred_console(char *name, int idx, char *options)
|
|||
return 0;
|
||||
}
|
||||
|
||||
int __init update_console_cmdline(char *name, int idx, char *name_new, int idx_new, char *options)
|
||||
int update_console_cmdline(char *name, int idx, char *name_new, int idx_new, char *options)
|
||||
{
|
||||
struct console_cmdline *c;
|
||||
int i;
|
||||
|
|
|
|||
Loading…
Reference in a new issue