Searched hist:"696118 c016dd5f5caaa05360f13f8acd8fb9d1a7" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/usb/dwc3/ |
H A D | dwc3-pci.c | diff 696118c016dd5f5caaa05360f13f8acd8fb9d1a7 Wed Sep 07 12:39:37 CEST 2016 Felipe Balbi <felipe.balbi@linux.intel.com> usb: dwc3: pci: fix build warning on !PM_SLEEP
When building a kernel with CONFIG_PM_SLEEP=n, we get the following warning:
drivers/usb/dwc3/dwc3-pci.c:253:12: warning: 'dwc3_pci_pm_dummy' defined but not used
In order to fix this, we should only define dwc3_pci_pm_dummy() when CONFIG_PM_SLEEP is defined.
Fixes: f6c274e11e3b ("usb: dwc3: pci: runtime_resume child device") Reported-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
|