From: Fabio Baltieri Date: Fri, 26 Apr 2013 12:17:15 +0000 (+0200) Subject: mfd: ab8500-sysctrl: Fix sparse warning X-Git-Tag: v3.10-rc3~32^2~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3d2088a14d949651f8b799d425ecbd684e35348b;p=platform%2Fkernel%2Flinux-3.10.git mfd: ab8500-sysctrl: Fix sparse warning Fix sparse warning: drivers/mfd/ab8500-sysctrl.c:26:6: warning: symbol 'ab8500_power_off' was not declared. Should it be static? Acked-by: Linus Walleij Signed-off-by: Fabio Baltieri Signed-off-by: Lee Jones Signed-off-by: Samuel Ortiz --- diff --git a/drivers/mfd/ab8500-sysctrl.c b/drivers/mfd/ab8500-sysctrl.c index fbca1ce..640495e 100644 --- a/drivers/mfd/ab8500-sysctrl.c +++ b/drivers/mfd/ab8500-sysctrl.c @@ -23,7 +23,7 @@ static struct device *sysctrl_dev; -void ab8500_power_off(void) +static void ab8500_power_off(void) { sigset_t old; sigset_t all;