aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/max17040_battery.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/max17040_battery.h')
-rwxr-xr-x[-rw-r--r--]include/linux/max17040_battery.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/max17040_battery.h b/include/linux/max17040_battery.h
index ad97b06..968da52 100644..100755
--- a/include/linux/max17040_battery.h
+++ b/include/linux/max17040_battery.h
@@ -14,6 +14,10 @@ struct max17040_platform_data {
int (*battery_online)(void);
int (*charger_online)(void);
int (*charger_enable)(void);
+ int (*power_supply_register)(struct device *parent,
+ struct power_supply *psy);
+ void (*power_supply_unregister)(struct power_supply *psy);
+ u16 rcomp_value;
};
#endif