summaryrefslogtreecommitdiff
path: root/board/it83xx_evb/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/it83xx_evb/board.c')
-rw-r--r--board/it83xx_evb/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/it83xx_evb/board.c b/board/it83xx_evb/board.c
index 1ac7637ae5..b433856d36 100644
--- a/board/it83xx_evb/board.c
+++ b/board/it83xx_evb/board.c
@@ -38,7 +38,7 @@ int board_get_battery_soc(void)
return 100;
}
-const struct tcpc_config_t tcpc_config[CONFIG_USB_PD_PORT_COUNT] = {
+const struct tcpc_config_t tcpc_config[CONFIG_USB_PD_PORT_MAX_COUNT] = {
{-1, -1, &it83xx_tcpm_drv},
{-1, -1, &it83xx_tcpm_drv},
};