summaryrefslogtreecommitdiff
path: root/driver/tcpm/it8xxx2.c
diff options
context:
space:
mode:
Diffstat (limited to 'driver/tcpm/it8xxx2.c')
-rw-r--r--driver/tcpm/it8xxx2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/driver/tcpm/it8xxx2.c b/driver/tcpm/it8xxx2.c
index 246075207f..9f34442bd9 100644
--- a/driver/tcpm/it8xxx2.c
+++ b/driver/tcpm/it8xxx2.c
@@ -197,7 +197,7 @@ void it8xxx2_get_tx_error_status(enum usbpd_port port)
}
static enum tcpc_transmit_complete it8xxx2_tx_data(enum usbpd_port port,
- enum tcpm_transmit_type type,
+ enum tcpm_sop_type type,
uint16_t header,
const uint32_t *buf)
{
@@ -595,7 +595,7 @@ static int it8xxx2_tcpm_set_rx_enable(int port, int enable)
}
static int it8xxx2_tcpm_transmit(int port,
- enum tcpm_transmit_type type,
+ enum tcpm_sop_type type,
uint16_t header,
const uint32_t *data)
{