summaryrefslogtreecommitdiff
path: root/board/flapjack/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/flapjack/board.c')
-rw-r--r--board/flapjack/board.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/flapjack/board.c b/board/flapjack/board.c
index e84a5b947a..84d8e5016b 100644
--- a/board/flapjack/board.c
+++ b/board/flapjack/board.c
@@ -283,7 +283,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 = {
@@ -293,7 +293,7 @@ const struct tcpc_config_t tcpc_config[CONFIG_USB_PD_PORT_COUNT] = {
.drv = &mt6370_tcpm_drv},
};
-struct usb_mux usb_muxes[CONFIG_USB_PD_PORT_COUNT] = {
+struct usb_mux usb_muxes[CONFIG_USB_PD_PORT_MAX_COUNT] = {
{
.driver = &virtual_usb_mux_driver,
.hpd_update = &virtual_hpd_update,