On Wednesday, November 16, 2016 1:13:48 PM CET Felipe Balbi wrote:
> Arnd Bergmann writes:
> > A change to the suspend/resume handling in dwc3-pci introduced a
> > harmless warning:
> >
> > drivers/usb/dwc3/dwc3-pci.c:169:12: error: ‘dwc3_pci_dsm’ defined but not
> > used [-Werror=unused-function
Hi,
Arnd Bergmann writes:
> A change to the suspend/resume handling in dwc3-pci introduced a
> harmless warning:
>
> drivers/usb/dwc3/dwc3-pci.c:169:12: error: ‘dwc3_pci_dsm’ defined but not
> used [-Werror=unused-function]
>
> Replacing the #ifdef around the PM functions with __maybe_unused
>
A change to the suspend/resume handling in dwc3-pci introduced a
harmless warning:
drivers/usb/dwc3/dwc3-pci.c:169:12: error: ‘dwc3_pci_dsm’ defined but not used
[-Werror=unused-function]
Replacing the #ifdef around the PM functions with __maybe_unused
annotations is the easiest way to make sure