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

Signed-off-by: Ralf Baechle <[email protected]>
This commit is contained in:
Ralf Baechle 2006-10-31 13:41:59 +00:00
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);