diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mips/kernel/early_printk.c | 2 | ||||
-rw-r--r-- | arch/mips/kernel/setup.c | 6 |
2 files changed, 3 insertions, 5 deletions
diff --git a/arch/mips/kernel/early_printk.c b/arch/mips/kernel/early_printk.c index 9dccfa4752b2..9ae813eb782e 100644 --- a/arch/mips/kernel/early_printk.c +++ b/arch/mips/kernel/early_printk.c | |||
@@ -10,6 +10,8 @@ | |||
10 | #include <linux/console.h> | 10 | #include <linux/console.h> |
11 | #include <linux/init.h> | 11 | #include <linux/init.h> |
12 | 12 | ||
13 | #include <asm/setup.h> | ||
14 | |||
13 | extern void prom_putchar(char); | 15 | extern void prom_putchar(char); |
14 | 16 | ||
15 | static void __init | 17 | static void __init |
diff --git a/arch/mips/kernel/setup.c b/arch/mips/kernel/setup.c index c04e4e3afede..8af84867e74d 100644 --- a/arch/mips/kernel/setup.c +++ b/arch/mips/kernel/setup.c | |||
@@ -550,11 +550,7 @@ void __init setup_arch(char **cmdline_p) | |||
550 | prom_init(); | 550 | prom_init(); |
551 | 551 | ||
552 | #ifdef CONFIG_EARLY_PRINTK | 552 | #ifdef CONFIG_EARLY_PRINTK |
553 | { | 553 | setup_early_printk(); |
554 | extern void setup_early_printk(void); | ||
555 | |||
556 | setup_early_printk(); | ||
557 | } | ||
558 | #endif | 554 | #endif |
559 | cpu_report(); | 555 | cpu_report(); |
560 | check_bugs_early(); | 556 | check_bugs_early(); |