1
0
Fork 0
alistair23-linux/drivers/usb/dwc3
Felipe Balbi 696118c016 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: f6c274e11e ("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>
2016-09-07 15:37:36 +03:00
..
Kconfig usb: dwc3: remove dwc3-qcom in favor of dwc3-of-simple 2015-12-15 09:12:41 -06:00
Makefile usb: dwc3: remove dwc3-qcom in favor of dwc3-of-simple 2015-12-15 09:12:41 -06:00
core.c usb: dwc3: core: allow device to runtime_suspend several times 2016-08-22 10:45:11 +03:00
core.h usb: dwc3: gadget: keep track of allocated and queued reqs 2016-06-20 12:32:49 +03:00
debug.c usb: dwc3: add tracepoints to aid debugging 2014-09-05 09:55:51 -05:00
debug.h usb: dwc3: debug: fix ep name on trace output 2016-08-25 10:36:25 +03:00
debugfs.c usb: dwc3: add DWC3_GUCTL1 reg for debug 2016-06-20 12:32:46 +03:00
dwc3-exynos.c usb: dwc3: exynos: Fix deferred probing storm. 2016-05-31 11:12:42 +03:00
dwc3-keystone.c usb: dwc3: keystone: drop dma_mask configuration 2016-04-06 16:36:01 +03:00
dwc3-of-simple.c usb: dwc3: fix missing platform_set_drvdata() in dwc3_of_simple_probe() 2016-08-11 15:09:45 +03:00
dwc3-omap.c usb: dwc3: omap: Pass VBUS and ID events transparently 2016-06-20 12:32:47 +03:00
dwc3-pci.c usb: dwc3: pci: fix build warning on !PM_SLEEP 2016-09-07 15:37:36 +03:00
dwc3-st.c - Final patches fixing Reset API change 2016-07-01 15:17:16 -07:00
ep0.c usb: dwc3: remove trailing newline from dwc3_trace 2016-06-20 12:32:48 +03:00
gadget.c Revert "usb: dwc3: gadget: always decrement by 1" 2016-09-05 13:39:23 +03:00
gadget.h usb: dwc3: gadget: add a pointer to endpoint registers 2016-06-20 12:32:35 +03:00
host.c usb: dwc3: host: Fix broken XHCI host 2016-07-01 08:59:44 -07:00
io.h usb: dwc3: gadget: add a pointer to endpoint registers 2016-06-20 12:32:35 +03:00
trace.c usb: dwc3: add tracepoints to aid debugging 2014-09-05 09:55:51 -05:00
trace.h usb: dwc3: gadget: keep track of allocated and queued reqs 2016-06-20 12:32:49 +03:00
ulpi.c usb: dwc3: add ULPI interface support 2015-05-13 12:06:52 -05:00