Re: Linux 2.5.73

Andrew Morton (akpm@digeo.com)
Sun, 22 Jun 2003 13:15:26 -0700


Alex Goddard <agoddard@purdue.edu> wrote:
>
> drivers/usb/host/ehci-hcd.c:977: error: pci_ids causes a section type
> conflict

Yup.

__devinitdata declarations should not be marked const.

--- 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/