diff options
Diffstat (limited to 'drivers/usb/host/xhci.c')
-rw-r--r-- | drivers/usb/host/xhci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c index 9e72caf2570a..4a05555bf6e3 100644 --- a/drivers/usb/host/xhci.c +++ b/drivers/usb/host/xhci.c | |||
@@ -218,7 +218,7 @@ static int xhci_setup_msi(struct xhci_hcd *xhci) | |||
218 | return ret; | 218 | return ret; |
219 | } | 219 | } |
220 | 220 | ||
221 | ret = request_irq(pdev->irq, (irq_handler_t)xhci_msi_irq, | 221 | ret = request_irq(pdev->irq, xhci_msi_irq, |
222 | 0, "xhci_hcd", xhci_to_hcd(xhci)); | 222 | 0, "xhci_hcd", xhci_to_hcd(xhci)); |
223 | if (ret) { | 223 | if (ret) { |
224 | xhci_dbg(xhci, "disable MSI interrupt\n"); | 224 | xhci_dbg(xhci, "disable MSI interrupt\n"); |
@@ -290,7 +290,7 @@ static int xhci_setup_msix(struct xhci_hcd *xhci) | |||
290 | 290 | ||
291 | for (i = 0; i < xhci->msix_count; i++) { | 291 | for (i = 0; i < xhci->msix_count; i++) { |
292 | ret = request_irq(xhci->msix_entries[i].vector, | 292 | ret = request_irq(xhci->msix_entries[i].vector, |
293 | (irq_handler_t)xhci_msi_irq, | 293 | xhci_msi_irq, |
294 | 0, "xhci_hcd", xhci_to_hcd(xhci)); | 294 | 0, "xhci_hcd", xhci_to_hcd(xhci)); |
295 | if (ret) | 295 | if (ret) |
296 | goto disable_msix; | 296 | goto disable_msix; |