summaryrefslogtreecommitdiff
path: root/driver/tcpm/tcpm.h
diff options
context:
space:
mode:
Diffstat (limited to 'driver/tcpm/tcpm.h')
-rw-r--r--driver/tcpm/tcpm.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/driver/tcpm/tcpm.h b/driver/tcpm/tcpm.h
index 5701a83d01..2c53e03d5d 100644
--- a/driver/tcpm/tcpm.h
+++ b/driver/tcpm/tcpm.h
@@ -267,6 +267,11 @@ static inline int tcpm_enable_drp_toggle(int port)
{
return tcpc_config[port].drv->drp_toggle(port);
}
+#else
+static inline int tcpm_auto_toggle_supported(int port)
+{
+ return false;
+}
#endif
#ifdef CONFIG_USB_PD_TCPC_LOW_POWER