projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
power: supply: core: make power_supply_class constant
[linux-2.6-block.git]
/
drivers
/
power
/
supply
/
ab8500_fg.c
diff --git
a/drivers/power/supply/ab8500_fg.c
b/drivers/power/supply/ab8500_fg.c
index 8c593fbdd45a7317f7e8ce85cfe7af8fcd509318..e49e704023e1b66233925f3e7cb20b2959478ffa 100644
(file)
--- a/
drivers/power/supply/ab8500_fg.c
+++ b/
drivers/power/supply/ab8500_fg.c
@@
-2407,7
+2407,7
@@
out:
*/
static void ab8500_fg_external_power_changed(struct power_supply *psy)
{
- class_for_each_device(power_supply_class, NULL, psy,
+ class_for_each_device(
&
power_supply_class, NULL, psy,
ab8500_fg_get_ext_psy_data);
}