From: Aaro Koskinen Date: Wed, 19 Nov 2014 21:52:49 +0000 (+0200) Subject: MIPS: loongson: lemote-2f: reset: make ml2f_reboot static X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=65b432de80227f4e09cd2de882d982be5edfa260;p=openwrt%2Fstaging%2Fblogic.git MIPS: loongson: lemote-2f: reset: make ml2f_reboot static 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 Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/8528/ Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/loongson/lemote-2f/reset.c b/arch/mips/loongson/lemote-2f/reset.c index 79ac694fe744..a26ca7fcd7e0 100644 --- a/arch/mips/loongson/lemote-2f/reset.c +++ b/arch/mips/loongson/lemote-2f/reset.c @@ -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();