Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
c21e6d65
Commit
c21e6d65
authored
Oct 31, 2006
by
Ralf Baechle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[MIPS] Sort out missuse of __init for prom_getcmdline()
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
e8f05de5
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
arch/mips/au1000/common/prom.c
arch/mips/au1000/common/prom.c
+1
-1
arch/mips/au1000/common/setup.c
arch/mips/au1000/common/setup.c
+1
-1
drivers/net/au1000_eth.c
drivers/net/au1000_eth.c
+1
-1
No files found.
arch/mips/au1000/common/prom.c
View file @
c21e6d65
...
@@ -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
]);
}
}
...
...
arch/mips/au1000/common/setup.c
View file @
c21e6d65
...
@@ -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
);
...
...
drivers/net/au1000_eth.c
View file @
c21e6d65
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment