summaryrefslogtreecommitdiff
path: root/include/driver/tcpm/tcpm.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/driver/tcpm/tcpm.h')
-rw-r--r--include/driver/tcpm/tcpm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/driver/tcpm/tcpm.h b/include/driver/tcpm/tcpm.h
index 7965684017..901f44a26a 100644
--- a/include/driver/tcpm/tcpm.h
+++ b/include/driver/tcpm/tcpm.h
@@ -254,7 +254,7 @@ static inline int tcpm_transmit(int port, enum tcpm_transmit_type type,
return tcpc_config[port].drv->transmit(port, type, header, data);
}
-#ifdef CONFIG_USBC_PPC
+#ifdef CONFIG_USB_PD_PPC
static inline int tcpm_get_snk_ctrl(int port, bool *sinking)
{
int rv = EC_ERROR_UNIMPLEMENTED;