summaryrefslogtreecommitdiffstats
path: root/drivers/power/abx500_chargalg.c
diff options
context:
space:
mode:
authorAnton Vorontsov <anton.vorontsov@linaro.org>2012-03-14 01:43:11 +0100
committerAnton Vorontsov <anton.vorontsov@linaro.org>2012-03-26 18:41:14 +0200
commit64eb9b02bfbbc2a53b6092cc12c1f42cc3261dbc (patch)
tree68708ed82a38cff384fb61de9d5615c254a8af19 /drivers/power/abx500_chargalg.c
parentab8500_fg: Fix copy-paste error (diff)
downloadlinux-64eb9b02bfbbc2a53b6092cc12c1f42cc3261dbc.tar.xz
linux-64eb9b02bfbbc2a53b6092cc12c1f42cc3261dbc.zip
ab8500: Turn unneeded global symbols into local ones
The patch fixes the following sparse warning: drivers/power/ab8500_charger.c:1619:6: warning: symbol 'ab8500_charger_detect_usb_type_work' was not declared. Should it be static? drivers/power/abx500_chargalg.c:1709:24: warning: symbol 'abx500_chargalg_sysfs_ops' was not declared. Should it be static? drivers/power/ab8500_fg.c:2328:24: warning: symbol 'ab8500_fg_sysfs_ops' was not declared. Should it be static? Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
Diffstat (limited to 'drivers/power/abx500_chargalg.c')
-rw-r--r--drivers/power/abx500_chargalg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/abx500_chargalg.c b/drivers/power/abx500_chargalg.c
index fbb6a1fe97e4..804b88c760d6 100644
--- a/drivers/power/abx500_chargalg.c
+++ b/drivers/power/abx500_chargalg.c
@@ -1706,7 +1706,7 @@ static struct attribute *abx500_chargalg_chg[] = {
NULL
};
-const struct sysfs_ops abx500_chargalg_sysfs_ops = {
+static const struct sysfs_ops abx500_chargalg_sysfs_ops = {
.store = abx500_chargalg_sysfs_charger,
};