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 ???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); > > ^ > > drivers/usb/phy/phy-msm-usb.c: In function ???msm_otg_runtime_resume???: > > drivers/usb/phy/phy-msm-usb.c:1701:2: error: implicit declaration of \ > > function ???msm_otg_resume??? [-Werror=implicit-function-declaration] > > return msm_otg_resume(motg); > > ^ > > > > This patch fixes the error by defining msm_otg_{suspend,resume} > > whenever CONFIG_PM=y. > > > > Signed-off-by: Felipe Balbi <balbi@xxxxxx> > > I'm lost. Didn't Josh send a patch for this to you already? > > [1] https://patchwork.kernel.org/patch/3673401/ true, dropped. -- balbi
Attachment:
signature.asc
Description: Digital signature