diff options
author | David Cohen <[email protected]> | 2014-04-25 19:20:16 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2014-04-25 09:34:10 -0700 |
commit | 01bb59ebffdec314da8da66266edf29529372f9b (patch) | |
tree | 48d094aa52706d2c1af9492562f5e5b6b749edf3 /net/lapb/lapb_out.c | |
parent | 6db249ebefc6bf5c39f35dfaacc046d8ad3ffd70 (diff) |
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 <[email protected]>
Cc: [email protected] # 3.2
Signed-off-by: Mathias Nyman <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions