aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/platform_data/lp8727.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/linux/platform_data/lp8727.h b/include/linux/platform_data/lp8727.h
index ea98c6133d32..f4bcdd5f20a4 100644
--- a/include/linux/platform_data/lp8727.h
+++ b/include/linux/platform_data/lp8727.h
@@ -51,15 +51,16 @@ struct lp8727_chg_param {
51 * @get_batt_level : get battery voltage (mV) 51 * @get_batt_level : get battery voltage (mV)
52 * @get_batt_capacity : get battery capacity (%) 52 * @get_batt_capacity : get battery capacity (%)
53 * @get_batt_temp : get battery temperature 53 * @get_batt_temp : get battery temperature
54 * @ac, @usb : charging parameters each charger type 54 * @ac : charging parameters for AC type charger
55 * @usb : charging parameters for USB type charger
55 */ 56 */
56struct lp8727_platform_data { 57struct lp8727_platform_data {
57 u8 (*get_batt_present)(void); 58 u8 (*get_batt_present)(void);
58 u16 (*get_batt_level)(void); 59 u16 (*get_batt_level)(void);
59 u8 (*get_batt_capacity)(void); 60 u8 (*get_batt_capacity)(void);
60 u8 (*get_batt_temp)(void); 61 u8 (*get_batt_temp)(void);
61 struct lp8727_chg_param ac; 62 struct lp8727_chg_param *ac;
62 struct lp8727_chg_param usb; 63 struct lp8727_chg_param *usb;
63}; 64};
64 65
65#endif 66#endif