RAA489000: Make low power mode conditional on config
Make low power mode conditional on config.
TEST=zmake configure -b nissa; flash and run
BRANCH=none
static int dev_id[CONFIG_USB_PD_PORT_MAX_COUNT] = { -1 };
+#ifdef CONFIG_USB_PD_TCPC_LOW_POWER
static int raa489000_enter_low_power_mode(int port)
{
int rv;
@@ -39,6 +40,7 @@ static int raa489000_enter_low_power_mode(int port)
return tcpci_enter_low_power_mode(port);
}
+#endif /* CONFIG_USB_PD_TCPC_LOW_POWER */
/* Configure output current in the TCPC because it is controlling Vbus */
int raa489000_set_output_current(int port, enum tcpc_rp_value rp)
