[MIPS] fix sparse warning about setup_early_printk()
authorDmitri Vorobiev <dmitri.vorobiev@movial.fi>
Thu, 29 May 2008 14:57:08 +0000 (17:57 +0300)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 15 Jul 2008 17:44:29 +0000 (18:44 +0100)
commit07cdb78436d52416a582e645b9afb6e26f986bc9
tree765906637fb87f35b171319562ac84d5a0fb7da3
parentc88a8b4ab0e1a1f06938939d9ba42e9da6144ccb
[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>
arch/mips/kernel/early_printk.c
arch/mips/kernel/setup.c
include/asm-mips/setup.h