summaryrefslogtreecommitdiff
path: root/board/strago/usb_pd_policy.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/strago/usb_pd_policy.c')
-rw-r--r--board/strago/usb_pd_policy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/strago/usb_pd_policy.c b/board/strago/usb_pd_policy.c
index 748e08a40e..0a12fec103 100644
--- a/board/strago/usb_pd_policy.c
+++ b/board/strago/usb_pd_policy.c
@@ -245,7 +245,7 @@ static int svdm_dp_config(int port, uint32_t *payload)
* timestamp of the next possible toggle to ensure the 2-ms spacing
* between IRQ_HPD.
*/
-static uint64_t hpd_deadline[CONFIG_USB_PD_PORT_COUNT];
+static uint64_t hpd_deadline[CONFIG_USB_PD_PORT_MAX_COUNT];
static void svdm_dp_post_config(int port)
{