Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f49a747c authored by Atsushi Nemoto's avatar Atsushi Nemoto Committed by Ralf Baechle
Browse files

[MIPS] Make some __setup functions static



This fixes some sparse warnings. ("warning: symbol 'foo' was not
declared. Should it be static?")

Signed-off-by: default avatarAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent bf15f767
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -98,7 +98,7 @@ static void au1k_wait(void)

static int __initdata nowait = 0;

int __init wait_disable(char *s)
static int __init wait_disable(char *s)
{
	nowait = 1;

+2 −2
Original line number Diff line number Diff line
@@ -543,7 +543,7 @@ void __init setup_arch(char **cmdline_p)
#endif
}

int __init fpu_disable(char *s)
static int __init fpu_disable(char *s)
{
	int i;

@@ -555,7 +555,7 @@ int __init fpu_disable(char *s)

__setup("nofpu", fpu_disable);

int __init dsp_disable(char *s)
static int __init dsp_disable(char *s)
{
	cpu_data[0].ases &= ~MIPS_ASE_DSP;