summaryrefslogtreecommitdiff
path: root/include/usb_emsg.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/usb_emsg.h')
-rw-r--r--include/usb_emsg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/usb_emsg.h b/include/usb_emsg.h
index ffbaa93a0e..7847cf6967 100644
--- a/include/usb_emsg.h
+++ b/include/usb_emsg.h
@@ -18,6 +18,6 @@ struct extended_msg {
};
/* Defined in usb_prl_sm.c */
-extern struct extended_msg emsg[CONFIG_USB_PD_PORT_COUNT];
+extern struct extended_msg emsg[CONFIG_USB_PD_PORT_MAX_COUNT];
#endif /* __CROS_EC_USB_EBUF_H */