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
nexedi
linux
Commits
5ac71fd1
Commit
5ac71fd1
authored
Jan 29, 2006
by
Ralf Baechle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[MIPS] Sibyte: Make all setup functions __init.
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
010b853b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
arch/mips/sibyte/sb1250/setup.c
arch/mips/sibyte/sb1250/setup.c
+5
-4
No files found.
arch/mips/sibyte/sb1250/setup.c
View file @
5ac71fd1
...
@@ -16,6 +16,7 @@
...
@@ -16,6 +16,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
*/
#include <linux/config.h>
#include <linux/config.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/kernel.h>
#include <linux/reboot.h>
#include <linux/reboot.h>
#include <linux/string.h>
#include <linux/string.h>
...
@@ -42,7 +43,7 @@ static inline int setup_bcm112x(void);
...
@@ -42,7 +43,7 @@ static inline int setup_bcm112x(void);
/* Setup code likely to be common to all SiByte platforms */
/* Setup code likely to be common to all SiByte platforms */
static
in
line
in
t
sys_rev_decode
(
void
)
static
in
t
__ini
t
sys_rev_decode
(
void
)
{
{
int
ret
=
0
;
int
ret
=
0
;
...
@@ -74,7 +75,7 @@ static inline int sys_rev_decode(void)
...
@@ -74,7 +75,7 @@ static inline int sys_rev_decode(void)
return
ret
;
return
ret
;
}
}
static
in
line
in
t
setup_bcm1250
(
void
)
static
in
t
__ini
t
setup_bcm1250
(
void
)
{
{
int
ret
=
0
;
int
ret
=
0
;
...
@@ -120,7 +121,7 @@ static inline int setup_bcm1250(void)
...
@@ -120,7 +121,7 @@ static inline int setup_bcm1250(void)
return
ret
;
return
ret
;
}
}
static
in
line
in
t
setup_bcm112x
(
void
)
static
in
t
__ini
t
setup_bcm112x
(
void
)
{
{
int
ret
=
0
;
int
ret
=
0
;
...
@@ -146,7 +147,7 @@ static inline int setup_bcm112x(void)
...
@@ -146,7 +147,7 @@ static inline int setup_bcm112x(void)
return
ret
;
return
ret
;
}
}
void
sb1250_setup
(
void
)
void
__init
sb1250_setup
(
void
)
{
{
uint64_t
sys_rev
;
uint64_t
sys_rev
;
int
plldiv
;
int
plldiv
;
...
...
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