diff options
author | Christoph Hellwig <hch@lst.de> | 2017-04-19 16:55:49 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-04-19 19:59:17 +0200 |
commit | 77d45b4500967de674b8f75a9a91f58d57d5704d (patch) | |
tree | e5478e17b3f6cc694a93151e7bfbbcc2b9e334de /drivers/usb/host/xhci.h | |
parent | 435cc1138ec94af7497ea68c8eb8b0c17cfcf002 (diff) | |
download | linux-77d45b4500967de674b8f75a9a91f58d57d5704d.tar.gz linux-77d45b4500967de674b8f75a9a91f58d57d5704d.tar.bz2 linux-77d45b4500967de674b8f75a9a91f58d57d5704d.zip |
xhci: switch to pci_alloc_irq_vectors
Use the modern API to request MSI or MSI-X interrupts, which allows us to
get rid of the msix_entries array, as well as cleaning up the cleanup
code.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/xhci.h')
-rw-r--r-- | drivers/usb/host/xhci.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/host/xhci.h b/drivers/usb/host/xhci.h index 914968c662c9..44123dd1816f 100644 --- a/drivers/usb/host/xhci.h +++ b/drivers/usb/host/xhci.h @@ -1724,7 +1724,6 @@ struct xhci_hcd { int page_shift; /* msi-x vectors */ int msix_count; - struct msix_entry *msix_entries; /* optional clock */ struct clk *clk; /* data structures */ |