diff options
Diffstat (limited to 'board/puff/board.c')
-rw-r--r-- | board/puff/board.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/board/puff/board.c b/board/puff/board.c index de837d4db7..0797c24a93 100644 --- a/board/puff/board.c +++ b/board/puff/board.c @@ -56,9 +56,9 @@ const struct pwm_t pwm_channels[] = { /******************************************************************************/ /* USB-C TPCP Configuration */ -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] = { }; -struct usb_mux usb_muxes[CONFIG_USB_PD_PORT_COUNT] = { +struct usb_mux usb_muxes[CONFIG_USB_PD_PORT_MAX_COUNT] = { }; /******************************************************************************/ @@ -132,7 +132,7 @@ DECLARE_HOOK(HOOK_INIT, board_init, HOOK_PRIO_DEFAULT); /******************************************************************************/ /* USB-C PPC Configuration */ -struct ppc_config_t ppc_chips[CONFIG_USB_PD_PORT_COUNT] = { +struct ppc_config_t ppc_chips[CONFIG_USB_PD_PORT_MAX_COUNT] = { }; unsigned int ppc_cnt = ARRAY_SIZE(ppc_chips); |