projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40c9623
)
PCI: Use class for quirk for usb host controller fixup
author
Yinghai Lu
<yinghai@kernel.org>
Fri, 24 Feb 2012 07:46:59 +0000
(23:46 -0800)
committer
Jesse 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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/host/pci-quirks.c
b/drivers/usb/host/pci-quirks.c
index caf87428ca43c3f38985d9469b566645ea3d3bf9..30f3aa0a6e98ba10ccf145e6ebeb134f459af393 100644
(file)
--- 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)
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);