[MIPS] Sort out missuse of __init for prom_getcmdline()

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
Ralf Baechle 2006-10-31 13:41:59 +00:00
parent e8f05de540
commit c21e6d65f7
3 changed files with 3 additions and 3 deletions

View File

@ -47,7 +47,7 @@ extern int prom_argc;
extern char **prom_argv, **prom_envp;
char * prom_getcmdline(void)
char * __init_or_module prom_getcmdline(void)
{
return &(arcs_cmdline[0]);
}

View File

@ -43,7 +43,7 @@
#include <asm/mach-au1x00/au1000.h>
#include <asm/time.h>
extern char * __init prom_getcmdline(void);
extern char * prom_getcmdline(void);
extern void __init board_setup(void);
extern void au1000_restart(char *);
extern void au1000_halt(void);

View File

@ -102,7 +102,7 @@ static void enable_mac(struct net_device *, int);
// externs
extern int get_ethernet_addr(char *ethernet_addr);
extern void str2eaddr(unsigned char *ea, unsigned char *str);
extern char * __init prom_getcmdline(void);
extern char * prom_getcmdline(void);
/*
* Theory of operation