David Cohen 01bb59ebff usb/xhci: fix compilation warning when !CONFIG_PCI && !CONFIG_PM
When CONFIG_PCI and CONFIG_PM are not selected, xhci.c gets this
warning:
drivers/usb/host/xhci.c:409:13: warning: ‘xhci_msix_sync_irqs’ defined
but not used [-Wunused-function]

Instead of creating nested #ifdefs, this patch fixes it by defining the
xHCI PCI stubs as inline.

This warning has been in since 3.2 kernel and was
caused by commit 421aa841a134f6a743111cf44d0c6d3b45e3cf8c
"usb/xhci: hide MSI code behind PCI bars", but wasn't noticed
until 3.13 when a configuration with these options was tried

Signed-off-by: David Cohen <david.a.cohen@linux.intel.com>
Cc: stable@vger.kernel.org # 3.2
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-04-25 09:34:10 -07:00
..
2013-10-19 14:08:04 -07:00
2013-12-03 10:34:33 -08:00
2013-10-19 14:08:04 -07:00
2013-05-30 21:34:31 +09:00
2013-12-03 10:34:33 -08:00
2013-12-03 10:34:33 -08:00
2013-07-31 17:53:50 -07:00
2013-12-03 10:34:33 -08:00
2013-12-18 16:36:10 -08:00
2013-12-03 10:25:22 -08:00
2013-12-03 10:25:22 -08:00
2014-01-23 18:49:36 -08:00
2013-12-03 10:34:33 -08:00
2013-12-03 10:34:33 -08:00
2013-01-24 13:42:09 -08:00