diff options
Diffstat (limited to 'arch/mips/sni/sniprom.c')
-rw-r--r-- | arch/mips/sni/sniprom.c | 5 |
1 files changed, 3 insertions, 2 deletions
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 @@ | |||
19 | #include <asm/addrspace.h> | 19 | #include <asm/addrspace.h> |
20 | #include <asm/sni.h> | 20 | #include <asm/sni.h> |
21 | #include <asm/mipsprom.h> | 21 | #include <asm/mipsprom.h> |
22 | #include <asm/mipsregs.h> | ||
22 | #include <asm/bootinfo.h> | 23 | #include <asm/bootinfo.h> |
23 | 24 | ||
24 | /* special SNI prom calls */ | 25 | /* special SNI prom calls */ |
@@ -71,7 +72,7 @@ const char *get_system_type(void) | |||
71 | #define SNI_IDPROM_SIZE 0x1000 | 72 | #define SNI_IDPROM_SIZE 0x1000 |
72 | 73 | ||
73 | #ifdef DEBUG | 74 | #ifdef DEBUG |
74 | static void sni_idprom_dump(void) | 75 | static void __init sni_idprom_dump(void) |
75 | { | 76 | { |
76 | int i; | 77 | int i; |
77 | 78 | ||
@@ -88,7 +89,7 @@ static void sni_idprom_dump(void) | |||
88 | } | 89 | } |
89 | #endif | 90 | #endif |
90 | 91 | ||
91 | static void sni_mem_init(void ) | 92 | static void __init sni_mem_init(void ) |
92 | { | 93 | { |
93 | int i, memsize; | 94 | int i, memsize; |
94 | struct membank { | 95 | struct membank { |