summaryrefslogtreecommitdiff
path: root/drivers/power/supply/power_supply.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/power/supply/power_supply.h')
-rw-r--r--drivers/power/supply/power_supply.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/supply/power_supply.h b/drivers/power/supply/power_supply.h
index c310d4f36c10..645eee4d6b6a 100644
--- a/drivers/power/supply/power_supply.h
+++ b/drivers/power/supply/power_supply.h
@@ -16,7 +16,7 @@ struct power_supply;
#ifdef CONFIG_SYSFS
extern void power_supply_init_attrs(struct device_type *dev_type);
-extern int power_supply_uevent(struct device *dev, struct kobj_uevent_env *env);
+extern int power_supply_uevent(const struct device *dev, struct kobj_uevent_env *env);
#else