summaryrefslogtreecommitdiff
path: root/test/usb_prl.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/usb_prl.c')
-rw-r--r--test/usb_prl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/usb_prl.c b/test/usb_prl.c
index 3843c49381..90cadbb230 100644
--- a/test/usb_prl.c
+++ b/test/usb_prl.c
@@ -106,7 +106,7 @@ static struct pd_prl {
int mock_pe_got_hard_reset;
int mock_pe_message_received;
int mock_got_soft_reset;
-} pd_port[CONFIG_USB_PD_PORT_COUNT];
+} pd_port[CONFIG_USB_PD_PORT_MAX_COUNT];
static void init_port(int port, int rev)
{