Thread (3 messages) 3 messages, 3 authors, 2014-01-17

[PATCH] usb: phy: msm: fix compilation errors when !CONFIG_PM_SLEEP

From: Christopher Covington <hidden>
Date: 2014-01-17 17:46:28
Also in: linux-arm-msm, lkml

Hi Josh,

On 01/17/2014 12:26 PM, Josh Cartwright wrote:

[...]
quoted hunk ↗ jump to hunk
@@ -440,7 +414,32 @@ static int msm_otg_reset(struct usb_phy *phy)
 #define PHY_SUSPEND_TIMEOUT_USEC	(500 * 1000)
 #define PHY_RESUME_TIMEOUT_USEC	(100 * 1000)
 
-#ifdef CONFIG_PM_SLEEP
+#if defined(CONFIG_PM_SLEEP) || defined(CONFIG_PM_RUNTIME)
Why not #ifdef CONFIG_PM here?

Regards,
Christopher

-- 
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
hosted by the Linux Foundation.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help