Commit c21e6d65 authored by Ralf Baechle's avatar Ralf Baechle

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

Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent e8f05de5
...@@ -47,7 +47,7 @@ extern int prom_argc; ...@@ -47,7 +47,7 @@ extern int prom_argc;
extern char **prom_argv, **prom_envp; extern char **prom_argv, **prom_envp;
char * prom_getcmdline(void) char * __init_or_module prom_getcmdline(void)
{ {
return &(arcs_cmdline[0]); return &(arcs_cmdline[0]);
} }
......
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
#include <asm/mach-au1x00/au1000.h> #include <asm/mach-au1x00/au1000.h>
#include <asm/time.h> #include <asm/time.h>
extern char * __init prom_getcmdline(void); extern char * prom_getcmdline(void);
extern void __init board_setup(void); extern void __init board_setup(void);
extern void au1000_restart(char *); extern void au1000_restart(char *);
extern void au1000_halt(void); extern void au1000_halt(void);
......
...@@ -102,7 +102,7 @@ static void enable_mac(struct net_device *, int); ...@@ -102,7 +102,7 @@ static void enable_mac(struct net_device *, int);
// externs // externs
extern int get_ethernet_addr(char *ethernet_addr); extern int get_ethernet_addr(char *ethernet_addr);
extern void str2eaddr(unsigned char *ea, unsigned char *str); extern void str2eaddr(unsigned char *ea, unsigned char *str);
extern char * __init prom_getcmdline(void); extern char * prom_getcmdline(void);
/* /*
* Theory of operation * Theory of operation
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment