diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/power/charger-manager.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/power/charger-manager.h b/include/linux/power/charger-manager.h index 6cb9fbc9a153..cd22029e32aa 100644 --- a/include/linux/power/charger-manager.h +++ b/include/linux/power/charger-manager.h | |||
| @@ -94,6 +94,14 @@ struct charger_cable { | |||
| 94 | bool attached; | 94 | bool attached; |
| 95 | 95 | ||
| 96 | struct charger_regulator *charger; | 96 | struct charger_regulator *charger; |
| 97 | |||
| 98 | /* | ||
| 99 | * Set min/max current of regulator to protect over-current issue | ||
| 100 | * according to a kind of charger cable when cable is attached. | ||
| 101 | */ | ||
| 102 | int min_uA; | ||
| 103 | int max_uA; | ||
| 104 | |||
| 97 | struct charger_manager *cm; | 105 | struct charger_manager *cm; |
| 98 | }; | 106 | }; |
| 99 | 107 | ||
