OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
194bd7c
)
mfd: ab8500-sysctrl: Fix sparse warning
author
Fabio Baltieri
<fabio.baltieri@linaro.org>
Fri, 26 Apr 2013 12:17:15 +0000
(14:17 +0200)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Thu, 16 May 2013 22:42:30 +0000
(
00:42
+0200)
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>
drivers/mfd/ab8500-sysctrl.c
patch
|
blob
|
history
diff --git
a/drivers/mfd/ab8500-sysctrl.c
b/drivers/mfd/ab8500-sysctrl.c
index
fbca1ce
..
640495e
100644
(file)
--- 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;