summaryrefslogtreecommitdiff
path: root/board/ampton/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/ampton/board.c')
-rw-r--r--board/ampton/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/ampton/board.c b/board/ampton/board.c
index 8c821eeb62..0025ae2567 100644
--- a/board/ampton/board.c
+++ b/board/ampton/board.c
@@ -68,7 +68,7 @@ int ppc_get_alert_status(int port)
static int tune_mux(int port);
-struct usb_mux ampton_usb_muxes[CONFIG_USB_PD_PORT_COUNT] = {
+struct usb_mux ampton_usb_muxes[CONFIG_USB_PD_PORT_MAX_COUNT] = {
[USB_PD_PORT_ITE_0] = {
/* Use PS8751 as mux only */
.port_addr = MUX_PORT_AND_ADDR(