diff options
author | Dmitri Vorobiev <dmitri.vorobiev@movial.fi> | 2008-06-18 03:18:23 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2008-07-15 13:44:32 -0400 |
commit | c3dd3de789630b9b1ac8f5175f1c21bbf1cca939 (patch) | |
tree | 636dcae8961680dc634f67f02beb58bfb58a7080 /arch | |
parent | 6ccab43b49beced70d8663b47ab471c4a23cb580 (diff) |
[MIPS] Add an appropriate header into display.c
The following errors were caught by sparse:
>>>>>>>>>>>
arch/mips/mips-boards/generic/display.c:30:6: warning: symbol
'mips_display_message' was not declared. Should it be static?
arch/mips/mips-boards/generic/display.c:58:6: warning: symbol
'mips_scroll_message' was not declared. Should it be static?
>>>>>>>>>>>
This patch includes the asm/mips-boards/prom.h header file into
arch/mips/mips-boards/generic/display.c. This adds the needed
function declarations, and the errors are gone.
Compile-tested using defconfigs for Malta, Atlas and SEAD boards.
Runtime test was successfully performed by booting a Malta 4Kc
board up to the shell prompt.
Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@movial.fi>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mips/mips-boards/generic/display.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/mips-boards/generic/display.c b/arch/mips/mips-boards/generic/display.c index 2a0057cfc30d..7c8828fcb0ad 100644 --- a/arch/mips/mips-boards/generic/display.c +++ b/arch/mips/mips-boards/generic/display.c | |||
@@ -22,6 +22,7 @@ | |||
22 | #include <linux/timer.h> | 22 | #include <linux/timer.h> |
23 | #include <asm/io.h> | 23 | #include <asm/io.h> |
24 | #include <asm/mips-boards/generic.h> | 24 | #include <asm/mips-boards/generic.h> |
25 | #include <asm/mips-boards/prom.h> | ||
25 | 26 | ||
26 | extern const char display_string[]; | 27 | extern const char display_string[]; |
27 | static unsigned int display_count; | 28 | static unsigned int display_count; |