diff options
author | Fabio Baltieri <fabio.baltieri@linaro.org> | 2013-04-26 14:17:15 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2013-05-17 00:42:30 +0200 |
commit | 3d2088a14d949651f8b799d425ecbd684e35348b (patch) | |
tree | 4104429751f2f1e108ed0aa79734c848ac580846 | |
parent | 194bd7cf1d19aac8da116ed3137c3a3cf622572b (diff) | |
download | lwn-3d2088a14d949651f8b799d425ecbd684e35348b.tar.gz lwn-3d2088a14d949651f8b799d425ecbd684e35348b.zip |
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 <linus.walleij@linaro.org>
Signed-off-by: Fabio Baltieri <fabio.baltieri@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
-rw-r--r-- | drivers/mfd/ab8500-sysctrl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/ab8500-sysctrl.c b/drivers/mfd/ab8500-sysctrl.c index fbca1ced49fa..640495e07144 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; |