* [patch] ehci_hcd.c linkage fix
@ 2003-06-19 4:52 Andrew Morton
2003-06-19 7:10 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: Andrew Morton @ 2003-06-19 4:52 UTC (permalink / raw)
To: Greg KH; +Cc: linux-kernel
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 */
_
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-06-19 6:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-19 4:52 [patch] ehci_hcd.c linkage fix Andrew Morton
2003-06-19 7:10 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox