Loading arch/mips/kernel/early_printk.c +3 −2 Original line number Diff line number Diff line Loading @@ -12,7 +12,8 @@ extern void prom_putchar(char); static void early_console_write(struct console *con, const char *s, unsigned n) static void __init early_console_write(struct console *con, const char *s, unsigned n) { while (n-- && *s) { if (*s == '\n') Loading @@ -22,7 +23,7 @@ static void early_console_write(struct console *con, const char *s, unsigned n) } } static struct console early_console = { static struct console early_console __initdata = { .name = "early", .write = early_console_write, .flags = CON_PRINTBUFFER | CON_BOOT, Loading Loading
arch/mips/kernel/early_printk.c +3 −2 Original line number Diff line number Diff line Loading @@ -12,7 +12,8 @@ extern void prom_putchar(char); static void early_console_write(struct console *con, const char *s, unsigned n) static void __init early_console_write(struct console *con, const char *s, unsigned n) { while (n-- && *s) { if (*s == '\n') Loading @@ -22,7 +23,7 @@ static void early_console_write(struct console *con, const char *s, unsigned n) } } static struct console early_console = { static struct console early_console __initdata = { .name = "early", .write = early_console_write, .flags = CON_PRINTBUFFER | CON_BOOT, Loading