summaryrefslogtreecommitdiff
path: root/include/charge_ramp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/charge_ramp.h')
-rw-r--r--include/charge_ramp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/charge_ramp.h b/include/charge_ramp.h
index 629499e6ac..c6e0531496 100644
--- a/include/charge_ramp.h
+++ b/include/charge_ramp.h
@@ -29,10 +29,11 @@ int board_is_ramp_allowed(int supplier);
* Get the maximum current limit that we are allowed to ramp to
*
* @supplier Active supplier type
+ * @sup_curr Input current limit based on supplier
*
* @return Maximum current in mA
*/
-int board_get_ramp_current_limit(int supplier);
+int board_get_ramp_current_limit(int supplier, int sup_curr);
/**
* Check if board is consuming full input current