diff options
author | Syed Rafiuddin <srafiuddin@nvidia.com> | 2012-03-07 15:24:14 +0530 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2013-09-14 01:08:54 -0700 |
commit | 8ee3be440591a583abb18da85996c5b632ac3662 (patch) | |
tree | 01943f73f2a80208931e0dc7b23b4af228dd6a13 /include/linux/smb349-charger.h | |
parent | 8665a60e27a33b28315ae091411fe64ee249ac73 (diff) |
power: smb349: Enable OTG support
Addition of OTG support in smb349 charger driver
Change-Id: Ib38c9f4c06285ae07d93cfa3c6f5e1637aaa9460
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/86936
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Rebase-Id: Ra4fbc6831e4f1f1dbf7bbed81df02e5789e5b5d9
Diffstat (limited to 'include/linux/smb349-charger.h')
-rw-r--r-- | include/linux/smb349-charger.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/smb349-charger.h b/include/linux/smb349-charger.h index e83a678d9958..311b2f4bb087 100644 --- a/include/linux/smb349-charger.h +++ b/include/linux/smb349-charger.h @@ -50,10 +50,12 @@ struct smb349_charger { }; int smb349_battery_online(void); +typedef void (*callback_t)(enum usb_otg_state otg_state, void *args); /* * Register callback function for the client. * Used by fuel-gauge driver to get battery charging properties. */ extern int register_callback(charging_callback_t cb, void *args); +extern int register_otg_callback(callback_t cb, void *args); #endif /*__LINUX_SMB349_CHARGER_H */ |