PCI: Use class for quirk for usb host controller fixup
authorYinghai Lu <yinghai@kernel.org>
Fri, 24 Feb 2012 07:46:59 +0000 (23:46 -0800)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Fri, 24 Feb 2012 22:35:17 +0000 (14:35 -0800)
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/usb/host/pci-quirks.c

index caf87428ca43c3f38985d9469b566645ea3d3bf9..30f3aa0a6e98ba10ccf145e6ebeb134f459af393 100644 (file)
@@ -876,4 +876,5 @@ static void __devinit quirk_usb_early_handoff(struct pci_dev *pdev)
        else if (pdev->class == PCI_CLASS_SERIAL_USB_XHCI)
                quirk_usb_handoff_xhci(pdev);
 }
-DECLARE_PCI_FIXUP_FINAL(PCI_ANY_ID, PCI_ANY_ID, quirk_usb_early_handoff);
+DECLARE_PCI_FIXUP_CLASS_FINAL(PCI_ANY_ID, PCI_ANY_ID,
+                       PCI_CLASS_SERIAL_USB, 8, quirk_usb_early_handoff);