diff options
author | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2007-07-23 21:49:27 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-07-24 11:02:48 -0400 |
commit | cbe7b45c1d0fbf51eea19452ffb56aa3002fe90c (patch) | |
tree | 0a86a1820ace00508085bacde2866c9fda066f8f /arch | |
parent | 34ec6e76a6354b04df3d2e94cd34d27af76a07bc (diff) |
[MIPS] SNI: sniprom
- 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>
Diffstat (limited to 'arch')
-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 { |