summaryrefslogtreecommitdiff
path: root/include/usb_tbt_alt_mode.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/usb_tbt_alt_mode.h')
-rw-r--r--include/usb_tbt_alt_mode.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/usb_tbt_alt_mode.h b/include/usb_tbt_alt_mode.h
index 01604d72ae..5190f00ec1 100644
--- a/include/usb_tbt_alt_mode.h
+++ b/include/usb_tbt_alt_mode.h
@@ -14,6 +14,7 @@
#include <stdint.h>
#include "tcpm/tcpm.h"
+#include "usb_pd_tcpm.h"
/*
* Initialize Thunderbolt state for the specified port.
@@ -75,7 +76,7 @@ bool tbt_is_active(int port);
* @param vdo_count The number of VDOs in the ACK VDM
* @param vdm VDM from ACK
*/
-void intel_vdm_acked(int port, enum tcpm_transmit_type type, int vdo_count,
+void intel_vdm_acked(int port, enum tcpm_sop_type type, int vdo_count,
uint32_t *vdm);
/*
@@ -86,7 +87,7 @@ void intel_vdm_acked(int port, enum tcpm_transmit_type type, int vdo_count,
* @param svid The SVID of the request
* @param vdm_cmd The VDM command of the request
*/
-void intel_vdm_naked(int port, enum tcpm_transmit_type type, uint8_t vdm_cmd);
+void intel_vdm_naked(int port, enum tcpm_sop_type type, uint8_t vdm_cmd);
/*
* Construct the next Thunderbolt VDM that should be sent.
@@ -99,6 +100,6 @@ void intel_vdm_naked(int port, enum tcpm_transmit_type type, uint8_t vdm_cmd);
* @return The number of VDOs written to VDM or -1 to indicate error
*/
int tbt_setup_next_vdm(int port, int vdo_count, uint32_t *vdm,
- enum tcpm_transmit_type *tx_type);
+ enum tcpm_sop_type *tx_type);
#endif