Re: [PATCH] usb: phy: msm: fix possible build error

2014-02-19 Thread Felipe Balbi
Hi, On Tue, Feb 18, 2014 at 10:28:06PM -0800, Stephen Boyd wrote: On 02/18, Felipe Balbi wrote: This will fail builds on configs where CONFIG_PM_RUNTIME=y and CONFIG_PM_SLEEP=n. Following build error will show up: drivers/usb/phy/phy-msm-usb.c: In function

[PATCH] usb: phy: msm: fix possible build error

2014-02-18 Thread Felipe Balbi
This will fail builds on configs where CONFIG_PM_RUNTIME=y and CONFIG_PM_SLEEP=n. Following build error will show up: drivers/usb/phy/phy-msm-usb.c: In function ‘msm_otg_runtime_suspend’: drivers/usb/phy/phy-msm-usb.c:1693:2: error: implicit declaration of \ function ‘msm_otg_suspend’

RE: [PATCH] usb: phy: msm: fix possible build error

2014-02-18 Thread Peter Chen
Following build error will show up: drivers/usb/phy/phy-msm-usb.c: In function ‘msm_otg_runtime_suspend’: drivers/usb/phy/phy-msm-usb.c:1693:2: error: implicit declaration of \ function ‘msm_otg_suspend’ [-Werror=implicit-function-declaration] return msm_otg_suspend(motg);

Re: [PATCH] usb: phy: msm: fix possible build error

2014-02-18 Thread Stephen Boyd
On 02/18, Felipe Balbi wrote: This will fail builds on configs where CONFIG_PM_RUNTIME=y and CONFIG_PM_SLEEP=n. Following build error will show up: drivers/usb/phy/phy-msm-usb.c: In function ???msm_otg_runtime_suspend???: drivers/usb/phy/phy-msm-usb.c:1693:2: error: implicit declaration