Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=c3dd3d... Commit: c3dd3de789630b9b1ac8f5175f1c21bbf1cca939 Parent: 6ccab43b49beced70d8663b47ab471c4a23cb580 Author: Dmitri Vorobiev <dmitri.vorobiev@movial.fi> AuthorDate: Wed Jun 18 10:18:23 2008 +0300 Committer: Ralf Baechle <ralf@linux-mips.org> CommitDate: Tue Jul 15 18:44:32 2008 +0100 [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 | 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 2a0057c..7c8828f 100644 --- a/arch/mips/mips-boards/generic/display.c +++ b/arch/mips/mips-boards/generic/display.c @@ -22,6 +22,7 @@ #include <linux/timer.h> #include <asm/io.h> #include <asm/mips-boards/generic.h> +#include <asm/mips-boards/prom.h> extern const char display_string[]; static unsigned int display_count; -- To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
