summaryrefslogtreecommitdiff
path: root/board/glados
diff options
context:
space:
mode:
Diffstat (limited to 'board/glados')
-rw-r--r--board/glados/board.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/board/glados/board.c b/board/glados/board.c
index 8855ae9518..29d05f1dea 100644
--- a/board/glados/board.c
+++ b/board/glados/board.c
@@ -323,9 +323,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));