diff options
author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 2007-02-17 11:02:14 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-02-19 20:26:41 -0500 |
commit | f49a747c4adadd96addf4dbf4a44f439513fb29b (patch) | |
tree | 77f4011884580229531670f53d3af8ef039b010d /arch/mips/kernel | |
parent | bf15f7679b5cd943758dfd538b852c2ab406bee5 (diff) |
[MIPS] Make some __setup functions static
This fixes some sparse warnings. ("warning: symbol 'foo' was not
declared. Should it be static?")
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel')
-rw-r--r-- | arch/mips/kernel/cpu-probe.c | 2 | ||||
-rw-r--r-- | arch/mips/kernel/setup.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/arch/mips/kernel/cpu-probe.c b/arch/mips/kernel/cpu-probe.c index 50ed6d58ae71..ab755ea26c6a 100644 --- a/arch/mips/kernel/cpu-probe.c +++ b/arch/mips/kernel/cpu-probe.c | |||
@@ -98,7 +98,7 @@ static void au1k_wait(void) | |||
98 | 98 | ||
99 | static int __initdata nowait = 0; | 99 | static int __initdata nowait = 0; |
100 | 100 | ||
101 | int __init wait_disable(char *s) | 101 | static int __init wait_disable(char *s) |
102 | { | 102 | { |
103 | nowait = 1; | 103 | nowait = 1; |
104 | 104 | ||
diff --git a/arch/mips/kernel/setup.c b/arch/mips/kernel/setup.c index 394540fad769..11ab222a2e97 100644 --- a/arch/mips/kernel/setup.c +++ b/arch/mips/kernel/setup.c | |||
@@ -543,7 +543,7 @@ void __init setup_arch(char **cmdline_p) | |||
543 | #endif | 543 | #endif |
544 | } | 544 | } |
545 | 545 | ||
546 | int __init fpu_disable(char *s) | 546 | static int __init fpu_disable(char *s) |
547 | { | 547 | { |
548 | int i; | 548 | int i; |
549 | 549 | ||
@@ -555,7 +555,7 @@ int __init fpu_disable(char *s) | |||
555 | 555 | ||
556 | __setup("nofpu", fpu_disable); | 556 | __setup("nofpu", fpu_disable); |
557 | 557 | ||
558 | int __init dsp_disable(char *s) | 558 | static int __init dsp_disable(char *s) |
559 | { | 559 | { |
560 | cpu_data[0].ases &= ~MIPS_ASE_DSP; | 560 | cpu_data[0].ases &= ~MIPS_ASE_DSP; |
561 | 561 | ||