diff options
author | Chandler Zhang <chazhang@nvidia.com> | 2012-03-12 17:05:16 +0800 |
---|---|---|
committer | Rohan Somvanshi <rsomvanshi@nvidia.com> | 2012-03-15 08:58:00 -0700 |
commit | 07102a20b48daf109282f23d2f72d8a710fe827b (patch) | |
tree | 541f856b7ea5b5713a7d1bff770f184d1f0f391d /include | |
parent | a0713b76e334a8751adfbfc879dcebcfe6386c29 (diff) |
power: smb349: add callback to update charger
Add update_charger_status() function callback to fix unknown
charging status at start up issue.
Bug 951750
Change-Id: Ib264479b0a251a07d136c245afa85c3444754ee0
Signed-off-by: Chandler Zhang <chazhang@nvidia.com>
Reviewed-on: http://git-master/r/89436
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/smb349-charger.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/smb349-charger.h b/include/linux/smb349-charger.h index 311b2f4bb087..ab02b883c0af 100644 --- a/include/linux/smb349-charger.h +++ b/include/linux/smb349-charger.h @@ -57,5 +57,6 @@ typedef void (*callback_t)(enum usb_otg_state otg_state, void *args); */ extern int register_callback(charging_callback_t cb, void *args); extern int register_otg_callback(callback_t cb, void *args); +extern int update_charger_status(void); #endif /*__LINUX_SMB349_CHARGER_H */ |