aboutsummaryrefslogtreecommitdiff
path: root/drivers/power/power_supply.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/power/power_supply.h')
-rw-r--r--drivers/power/power_supply.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/power/power_supply.h b/drivers/power/power_supply.h
index a9880d468ee..f38ba482be7 100644
--- a/drivers/power/power_supply.h
+++ b/drivers/power/power_supply.h
@@ -14,8 +14,7 @@
extern int power_supply_create_attrs(struct power_supply *psy);
extern void power_supply_remove_attrs(struct power_supply *psy);
-extern int power_supply_uevent(struct device *dev, char **envp, int num_envp,
- char *buffer, int buffer_size);
+extern int power_supply_uevent(struct device *dev, struct kobj_uevent_env *env);
#else