diff options
Diffstat (limited to 'board/kodama/board.c')
-rw-r--r-- | board/kodama/board.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/kodama/board.c b/board/kodama/board.c index 0e1d4bf0c0..905930963a 100644 --- a/board/kodama/board.c +++ b/board/kodama/board.c @@ -80,7 +80,7 @@ const struct spi_device_t spi_devices[] = { const unsigned int spi_devices_used = ARRAY_SIZE(spi_devices); /******************************************************************************/ -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 = { @@ -100,7 +100,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] = { { .port_addr = IT5205_I2C_ADDR1_FLAGS, .driver = &it5205_usb_mux_driver, |