diff options
author | Dmitri Vorobiev <dmitri.vorobiev@movial.fi> | 2008-05-29 16:57:08 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2008-07-15 19:44:29 +0200 |
commit | 07cdb78436d52416a582e645b9afb6e26f986bc9 (patch) | |
tree | 765906637fb87f35b171319562ac84d5a0fb7da3 /include/asm-mips/setup.h | |
parent | [MIPS] Remove obsolete isa_slot_offset (diff) | |
download | linux-07cdb78436d52416a582e645b9afb6e26f986bc9.tar.xz linux-07cdb78436d52416a582e645b9afb6e26f986bc9.zip |
[MIPS] fix sparse warning about setup_early_printk()
This patch fixes the following sparse warning:
<<<<<<<<
arch/mips/kernel/early_printk.c:35:13: warning: symbol 'setup_early_printk'
was not declared. Should it be static?
<<<<<<<<
The fix is to define a prototype of the setup_early_printk() function and
to include the appropriate header into arch/mips/kernel/early_printk.c.
[Ralf: Sorted includes again]
Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@movial.fi>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to '')
-rw-r--r-- | include/asm-mips/setup.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-mips/setup.h b/include/asm-mips/setup.h index 70009a902639..883f59bfa097 100644 --- a/include/asm-mips/setup.h +++ b/include/asm-mips/setup.h @@ -3,4 +3,6 @@ #define COMMAND_LINE_SIZE 256 +extern void setup_early_printk(void); + #endif /* __SETUP_H */ |