mirror of
https://github.com/adulau/aha.git
synced 2024-12-30 20:56:23 +00:00
[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>
This commit is contained in:
parent
34ec6e76a6
commit
cbe7b45c1d
1 changed files with 3 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue