diff options
-rw-r--r-- | driver/tcpm/rt1718s.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/driver/tcpm/rt1718s.c b/driver/tcpm/rt1718s.c index a2e05838de..631d98a522 100644 --- a/driver/tcpm/rt1718s.c +++ b/driver/tcpm/rt1718s.c @@ -369,6 +369,7 @@ static void rt1718s_alert(int port) tcpci_tcpc_alert(port); } +#ifdef CONFIG_USB_PD_TCPC_LOW_POWER static int rt1718s_enter_low_power_mode(int port) { /* enter low power mode */ @@ -382,6 +383,7 @@ static int rt1718s_enter_low_power_mode(int port) return tcpci_enter_low_power_mode(port); } +#endif /* RT1718S is a TCPCI compatible port controller */ const struct tcpm_drv rt1718s_tcpm_drv = { |