summaryrefslogtreecommitdiff
path: root/board/jacuzzi/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/jacuzzi/board.c')
-rw-r--r--board/jacuzzi/board.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/jacuzzi/board.c b/board/jacuzzi/board.c
index ec1ca3160e..f8274dd6a5 100644
--- a/board/jacuzzi/board.c
+++ b/board/jacuzzi/board.c
@@ -94,7 +94,7 @@ const struct pi3usb9201_config_t pi3usb9201_bc12_chips[] = {
};
/******************************************************************************/
-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] = {
{
.bus_type = EC_BUS_TYPE_I2C,
.i2c_info = {
@@ -114,7 +114,7 @@ static void board_hpd_status(int port, int hpd_lvl, int hpd_irq)
host_set_single_event(EC_HOST_EVENT_USB_MUX);
}
-struct usb_mux usb_muxes[CONFIG_USB_PD_PORT_COUNT] = {
+struct usb_mux usb_muxes[CONFIG_USB_PD_PORT_MAX_COUNT] = {
{
/* Driver uses I2C_PORT_USB_MUX as I2C port */
.port_addr = IT5205_I2C_ADDR1_FLAGS,