MIPS: loongson: lemote-2f: reset: make ml2f_reboot static
authorAaro Koskinen <aaro.koskinen@iki.fi>
Wed, 19 Nov 2014 21:52:49 +0000 (23:52 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 24 Nov 2014 06:45:35 +0000 (07:45 +0100)
Make ml2f_reboot static to elimite the following sparse warning:
warning: symbol 'ml2f_reboot' was not declared. Should it be static?

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/8528/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/loongson/lemote-2f/reset.c

index 79ac694fe7443b26eb0106487e79c0eb96111c48..a26ca7fcd7e041fa6eded3fa732c110e7871643c 100644 (file)
@@ -76,7 +76,7 @@ static void fl2f_shutdown(void)
 
 /* reset support for yeeloong2f and mengloong2f notebook */
 
-void ml2f_reboot(void)
+static void ml2f_reboot(void)
 {
        reset_cpu();