aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/pci-quirks.h
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2013-07-23 11:58:20 -0700
committerSarah Sharp <sarah.a.sharp@linux.intel.com>2013-07-25 08:09:48 -0700
commitd5c82feb5cf8026cd4af048330fdcd46e861c686 (patch)
tree3ae6fb4428172bae6bc5ae248e7f1440595651ff /drivers/usb/host/pci-quirks.h
parentxhci: Avoid NULL pointer deref when host dies. (diff)
downloadlinux-dev-d5c82feb5cf8026cd4af048330fdcd46e861c686.tar.xz
linux-dev-d5c82feb5cf8026cd4af048330fdcd46e861c686.zip
usb: xhci: Mark two functions __maybe_unused
Resolves the following build warnings: drivers/usb/host/xhci.c:332:13: warning: 'xhci_msix_sync_irqs' defined but not used [-Wunused-function] drivers/usb/host/xhci.c:3901:12: warning: 'xhci_change_max_exit_latency' defined but not used [-Wunused-function] These functions are not always used, and since they're marked static they will produce build warnings: - xhci_msix_sync_irqs is only used with CONFIG_PCI. - xhci_change_max_exit_latency is a little more complicated with dependencies on CONFIG_PM and CONFIG_PM_RUNTIME. Instead of building a bigger maze of ifdefs in this code, I've just marked both with __maybe_unused. Signed-off-by: Olof Johansson <olof@lixom.net> Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions