summaryrefslogtreecommitdiff
path: root/common/usbc/usb_pe_ctvpd_sm.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/usbc/usb_pe_ctvpd_sm.c')
-rw-r--r--common/usbc/usb_pe_ctvpd_sm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/usbc/usb_pe_ctvpd_sm.c b/common/usbc/usb_pe_ctvpd_sm.c
index 06a9137a2d..eb7d8a0aa7 100644
--- a/common/usbc/usb_pe_ctvpd_sm.c
+++ b/common/usbc/usb_pe_ctvpd_sm.c
@@ -11,6 +11,7 @@
#include "usb_pd_tcpm.h"
#include "usb_pe_sm.h"
#include "usb_prl_sm.h"
+#include "usb_pd_tcpm.h"
#include "usb_tc_sm.h"
#include "usb_emsg.h"
#include "usb_sm.h"
@@ -110,7 +111,7 @@ void pe_got_hard_reset(int port)
/* No implementation needed by this policy engine */
}
-void pe_report_error(int port, enum pe_error e, enum tcpm_transmit_type type)
+void pe_report_error(int port, enum pe_error e, enum tcpm_sop_type type)
{
/* No implementation needed by this policy engine */
}