Messages in this thread Patch in this message | | | Date | Wed, 18 Jun 2003 21:52:33 -0700 | From | Andrew Morton <> | Subject | [patch] ehci_hcd.c linkage fix |
| |
With CONFIG_HOTPLUG=n we get, at link time:
drivers/usb/host/ehci-hcd.c:977: pci_ids causes a section type conflict
The fix is to remove the const, but I'm darned if I can remember why. Can anyone remind me?
--- 25/drivers/usb/host/ehci-hcd.c~ehci_hcd-linkage-fix 2003-06-18 21:48:15.000000000 -0700 +++ 25-akpm/drivers/usb/host/ehci-hcd.c 2003-06-18 21:50:06.000000000 -0700 @@ -974,7 +974,7 @@ static const struct hc_driver ehci_drive /* EHCI spec says PCI is required. */ /* PCI driver selection metadata; PCI hotplugging uses this */ -static const struct pci_device_id __devinitdata pci_ids [] = { { +static struct pci_device_id __devinitdata pci_ids [] = { { /* handle any USB 2.0 EHCI controller */ _
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |