Skip to content

Commit

Permalink
MIPS: loongson: lemote-2f: reset: make ml2f_reboot static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Aaro Koskinen authored and Ralf Baechle committed Nov 24, 2014
1 parent 55fa988 commit 65b432d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/mips/loongson/lemote-2f/reset.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit 65b432d

Please sign in to comment.