aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYinghai Lu <yinghai@kernel.org>2012-02-24 02:46:59 -0500
committerJesse Barnes <jbarnes@virtuousgeek.org>2012-02-24 17:35:17 -0500
commit8474ecd9231434d71a39cd1ba118629e1b036137 (patch)
tree2f0f36c5f94594eee4a3802261ab30d05f7890a3
parent40c96236bdab60b5879a277270ee209b87fc846f (diff)
PCI: Use class for quirk for usb host controller fixup
Signed-off-by: Yinghai Lu <yinghai@kernel.org> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
-rw-r--r--drivers/usb/host/pci-quirks.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/host/pci-quirks.c b/drivers/usb/host/pci-quirks.c
index caf87428ca4..30f3aa0a6e9 100644
--- a/drivers/usb/host/pci-quirks.c
+++ b/drivers/usb/host/pci-quirks.c
@@ -876,4 +876,5 @@ static void __devinit quirk_usb_early_handoff(struct pci_dev *pdev)
876 else if (pdev->class == PCI_CLASS_SERIAL_USB_XHCI) 876 else if (pdev->class == PCI_CLASS_SERIAL_USB_XHCI)
877 quirk_usb_handoff_xhci(pdev); 877 quirk_usb_handoff_xhci(pdev);
878} 878}
879DECLARE_PCI_FIXUP_FINAL(PCI_ANY_ID, PCI_ANY_ID, quirk_usb_early_handoff); 879DECLARE_PCI_FIXUP_CLASS_FINAL(PCI_ANY_ID, PCI_ANY_ID,
880 PCI_CLASS_SERIAL_USB, 8, quirk_usb_early_handoff);