mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-02 06:36:43 +07:00
[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>
This commit is contained in:
parent
bf15f7679b
commit
f49a747c4a
@ -98,7 +98,7 @@ static void au1k_wait(void)
|
|||||||
|
|
||||||
static int __initdata nowait = 0;
|
static int __initdata nowait = 0;
|
||||||
|
|
||||||
int __init wait_disable(char *s)
|
static int __init wait_disable(char *s)
|
||||||
{
|
{
|
||||||
nowait = 1;
|
nowait = 1;
|
||||||
|
|
||||||
|
@ -543,7 +543,7 @@ void __init setup_arch(char **cmdline_p)
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
int __init fpu_disable(char *s)
|
static int __init fpu_disable(char *s)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
@ -555,7 +555,7 @@ int __init fpu_disable(char *s)
|
|||||||
|
|
||||||
__setup("nofpu", fpu_disable);
|
__setup("nofpu", fpu_disable);
|
||||||
|
|
||||||
int __init dsp_disable(char *s)
|
static int __init dsp_disable(char *s)
|
||||||
{
|
{
|
||||||
cpu_data[0].ases &= ~MIPS_ASE_DSP;
|
cpu_data[0].ases &= ~MIPS_ASE_DSP;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user