summaryrefslogtreecommitdiff
path: root/board/scarlet/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/scarlet/board.c')
-rw-r--r--board/scarlet/board.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/scarlet/board.c b/board/scarlet/board.c
index 1ba595479b..4321d53179 100644
--- a/board/scarlet/board.c
+++ b/board/scarlet/board.c
@@ -122,7 +122,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 = {
@@ -133,7 +133,7 @@ const struct tcpc_config_t tcpc_config[CONFIG_USB_PD_PORT_COUNT] = {
},
};
-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,