[MIPS] Sort out missuse of __init for prom_getcmdline()
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
Родитель
e8f05de540
Коммит
c21e6d65f7
|
@ -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 @@
|
||||||
#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);
|
||||||
// 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
|
||||||
|
|
Загрузка…
Ссылка в новой задаче