Skip to content

Commit

Permalink
[MIPS] Sibyte: Make all setup functions __init.
Browse files Browse the repository at this point in the history
    
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Ralf Baechle committed Feb 7, 2006
1 parent 010b853 commit 5ac71fd
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions arch/mips/sibyte/sb1250/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include <linux/config.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/reboot.h>
#include <linux/string.h>
Expand All @@ -42,7 +43,7 @@ static inline int setup_bcm112x(void);

/* Setup code likely to be common to all SiByte platforms */

static inline int sys_rev_decode(void)
static int __init sys_rev_decode(void)
{
int ret = 0;

Expand Down Expand Up @@ -74,7 +75,7 @@ static inline int sys_rev_decode(void)
return ret;
}

static inline int setup_bcm1250(void)
static int __init setup_bcm1250(void)
{
int ret = 0;

Expand Down Expand Up @@ -120,7 +121,7 @@ static inline int setup_bcm1250(void)
return ret;
}

static inline int setup_bcm112x(void)
static int __init setup_bcm112x(void)
{
int ret = 0;

Expand All @@ -146,7 +147,7 @@ static inline int setup_bcm112x(void)
return ret;
}

void sb1250_setup(void)
void __init sb1250_setup(void)
{
uint64_t sys_rev;
int plldiv;
Expand Down

0 comments on commit 5ac71fd

Please sign in to comment.