summaryrefslogtreecommitdiff
path: root/board/wheatley
diff options
context:
space:
mode:
Diffstat (limited to 'board/wheatley')
-rw-r--r--board/wheatley/board.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/board/wheatley/board.c b/board/wheatley/board.c
index f8754eae0c..408e833697 100644
--- a/board/wheatley/board.c
+++ b/board/wheatley/board.c
@@ -305,9 +305,11 @@ int board_set_active_charge_port(int charge_port)
/**
* Set the charge limit based upon desired maximum.
*
+ * @param port Port number.
+ * @param supplier Charge supplier type.
* @param charge_ma Desired charge limit (mA).
*/
-void board_set_charge_limit(int charge_ma)
+void board_set_charge_limit(int port, int supplier, int charge_ma)
{
charge_set_input_current_limit(MAX(charge_ma,
CONFIG_CHARGER_INPUT_CURRENT));