From: Thomas Bogendoerfer Date: Tue, 24 Jul 2007 01:49:27 +0000 (+0200) Subject: [MIPS] SNI: sniprom X-Git-Tag: MMI-PSA29.97-13-9~41165^2~2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=cbe7b45c1d0fbf51eea19452ffb56aa3002fe90c;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git [MIPS] SNI: sniprom - fix compile error due to missing #include - fix section mismatch warning Signed-off-by: Thomas Bogendoerfer Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/sni/sniprom.c b/arch/mips/sni/sniprom.c index 00a03a6e8f58..db544a6e23f3 100644 --- a/arch/mips/sni/sniprom.c +++ b/arch/mips/sni/sniprom.c @@ -19,6 +19,7 @@ #include #include #include +#include #include /* special SNI prom calls */ @@ -71,7 +72,7 @@ const char *get_system_type(void) #define SNI_IDPROM_SIZE 0x1000 #ifdef DEBUG -static void sni_idprom_dump(void) +static void __init sni_idprom_dump(void) { int i; @@ -88,7 +89,7 @@ static void sni_idprom_dump(void) } #endif -static void sni_mem_init(void ) +static void __init sni_mem_init(void ) { int i, memsize; struct membank {