提交 cbe7b45c 编写于 作者: T Thomas Bogendoerfer 提交者: Ralf Baechle

[MIPS] SNI: sniprom

- fix compile error due to missing #include
- fix section mismatch warning
Signed-off-by: NThomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 34ec6e76
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
#include <asm/addrspace.h> #include <asm/addrspace.h>
#include <asm/sni.h> #include <asm/sni.h>
#include <asm/mipsprom.h> #include <asm/mipsprom.h>
#include <asm/mipsregs.h>
#include <asm/bootinfo.h> #include <asm/bootinfo.h>
/* special SNI prom calls */ /* special SNI prom calls */
...@@ -71,7 +72,7 @@ const char *get_system_type(void) ...@@ -71,7 +72,7 @@ const char *get_system_type(void)
#define SNI_IDPROM_SIZE 0x1000 #define SNI_IDPROM_SIZE 0x1000
#ifdef DEBUG #ifdef DEBUG
static void sni_idprom_dump(void) static void __init sni_idprom_dump(void)
{ {
int i; int i;
...@@ -88,7 +89,7 @@ static void sni_idprom_dump(void) ...@@ -88,7 +89,7 @@ static void sni_idprom_dump(void)
} }
#endif #endif
static void sni_mem_init(void ) static void __init sni_mem_init(void )
{ {
int i, memsize; int i, memsize;
struct membank { struct membank {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册