RE: [PATCH -next] usb: renesas_usbhs: Fix unused function warning when CONFIG_PM not set
From: Yoshihiro Shimoda
Date: Wed Dec 12 2018 - 22:41:41 EST
> From: YueHaibing, Sent: Thursday, December 13, 2018 12:19 PM
> with CONFIG_PM not set, gcc warning this:
> warning: 'usbhsc_suspend' defined but not used [-Wunused-function]
> warning: 'usbhsc_resume' defined but not used [-Wunused-function]
> fix this by adding #ifdef around it.
> Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx>
Thank you for the patch.
However, this issue is already fixed on the Greg's usb.git / usb-next branch: