Re: [PATCH] usb: dwc2: Fix build warning when CONFIG_PM_SLEEP=n

2014-11-21 Thread Rafael J. Wysocki
On 11/19/2014 4:01 PM, Felipe Balbi wrote: HI, On Wed, Nov 19, 2014 at 12:37:53PM -0200, Fabio Estevam wrote: Building with bcm2835_defconfig, which has CONFIG_PM_SLEEP=n causes the following build warning: drivers/usb/dwc2/platform.c:227:12: warning: 'dwc2_suspend' defined but not used [-Wun

Re: [PATCH] usb: dwc2: Fix build warning when CONFIG_PM_SLEEP=n

2014-11-19 Thread Felipe Balbi
HI, On Wed, Nov 19, 2014 at 12:37:53PM -0200, Fabio Estevam wrote: > Building with bcm2835_defconfig, which has CONFIG_PM_SLEEP=n causes the > following build warning: > > drivers/usb/dwc2/platform.c:227:12: warning: 'dwc2_suspend' defined but not > used [-Wunused-function] > drivers/usb/dwc2/p

[PATCH] usb: dwc2: Fix build warning when CONFIG_PM_SLEEP=n

2014-11-19 Thread Fabio Estevam
Building with bcm2835_defconfig, which has CONFIG_PM_SLEEP=n causes the following build warning: drivers/usb/dwc2/platform.c:227:12: warning: 'dwc2_suspend' defined but not used [-Wunused-function] drivers/usb/dwc2/platform.c:237:12: warning: 'dwc2_resume' defined but not used [-Wunused-functio