[MIPS] SNI: sniprom
authorThomas Bogendoerfer <tsbogend@alpha.franken.de>
Tue, 24 Jul 2007 01:49:27 +0000 (03:49 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 24 Jul 2007 15:02:48 +0000 (16:02 +0100)
- fix compile error due to missing #include
- fix section mismatch warning

Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/sni/sniprom.c

index 00a03a6e8f58a21486f69b80ce8428ad339b1c7d..db544a6e23f33a448a6b14bd08f3cfec35e0baf4 100644 (file)
@@ -19,6 +19,7 @@
 #include <asm/addrspace.h>
 #include <asm/sni.h>
 #include <asm/mipsprom.h>
+#include <asm/mipsregs.h>
 #include <asm/bootinfo.h>
 
 /* 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 {
This page took 0.025252 seconds and 5 git commands to generate.