summaryrefslogtreecommitdiff
path: root/include/usb_prl_sm.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/usb_prl_sm.h')
-rw-r--r--include/usb_prl_sm.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/usb_prl_sm.h b/include/usb_prl_sm.h
index 694d4fd923..7f580741e5 100644
--- a/include/usb_prl_sm.h
+++ b/include/usb_prl_sm.h
@@ -121,5 +121,12 @@ void prl_start_ams(int port);
*/
void prl_end_ams(int port);
+#ifdef TEST_BUILD
+/**
+ * Fake to track the last sent control message
+ */
+enum pd_ctrl_msg_type fake_prl_get_last_sent_ctrl_msg(int port);
+#endif
+
#endif /* __CROS_EC_USB_PRL_H */