[MIPS] Add an appropriate header into display.c
authorDmitri Vorobiev <dmitri.vorobiev@movial.fi>
Wed, 18 Jun 2008 07:18:23 +0000 (10:18 +0300)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 15 Jul 2008 17:44:32 +0000 (18:44 +0100)
commitc3dd3de789630b9b1ac8f5175f1c21bbf1cca939
tree636dcae8961680dc634f67f02beb58bfb58a7080
parent6ccab43b49beced70d8663b47ab471c4a23cb580
[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>
arch/mips/mips-boards/generic/display.c