Files
linux/drivers/usb/host
Olof Johansson d5c82feb5c 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>
2013-07-25 08:09:48 -07:00
..
2012-11-21 13:27:17 -08:00
2013-05-27 11:00:52 +09:00
2013-04-23 10:10:29 -07:00
2012-11-21 13:27:17 -08:00
2012-11-21 13:27:17 -08:00
2013-05-30 21:34:31 +09:00
2013-06-24 16:20:43 -07:00
2012-02-13 14:32:34 -08:00
2012-11-21 13:27:16 -08:00
2011-03-31 11:26:23 -03:00
2012-05-01 21:33:37 -07:00
2012-11-21 13:27:16 -08:00
2013-06-06 11:16:44 -07:00
2013-05-27 11:00:52 +09:00
2012-11-21 13:27:16 -08:00
2013-05-27 11:00:52 +09:00
2012-11-21 13:27:16 -08:00
2013-05-27 11:00:52 +09:00
2013-05-27 11:00:52 +09:00
2012-11-21 13:27:17 -08:00
2012-11-21 13:27:17 -08:00
2013-01-24 13:59:26 -08:00
2013-01-25 12:41:02 -08:00
2013-01-24 13:42:09 -08:00
2013-06-08 21:27:51 -07:00