]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[USB]: Make early handoff a final fixup instead of a header one.
authorDavid S. Miller <davem@davemloft.net>
Fri, 4 Nov 2005 19:17:24 +0000 (11:17 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 4 Nov 2005 19:17:24 +0000 (11:17 -0800)
At header fixup time, it is not yet legal to ioremap() PCI
device registers, yet that is what this quirk code needs to
do.

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/usb/host/pci-quirks.c

index b1aa350fd32f04d5b59322bfb0ea946c00c25083..e46528c825bfdc5183914a552a202d3c99999bc1 100644 (file)
@@ -316,4 +316,4 @@ static void __devinit quirk_usb_early_handoff(struct pci_dev *pdev)
        else if (pdev->class == PCI_CLASS_SERIAL_USB_EHCI)
                quirk_usb_disable_ehci(pdev);
 }
-DECLARE_PCI_FIXUP_HEADER(PCI_ANY_ID, PCI_ANY_ID, quirk_usb_early_handoff);
+DECLARE_PCI_FIXUP_FINAL(PCI_ANY_ID, PCI_ANY_ID, quirk_usb_early_handoff);