Re: [PATCH] dwc3: make PM functions as __maybe_unused

2016-11-16 Thread Arnd Bergmann
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

Re: [PATCH] dwc3: make PM functions as __maybe_unused

2016-11-16 Thread Felipe Balbi
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

[PATCH] dwc3: make PM functions as __maybe_unused

2016-11-15 Thread Arnd Bergmann
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