ChangeSet 1.1155.3.3, 2003/05/19 10:46:50-07:00, anton@samba.org [PATCH] USB: gadget compile error on ppc64 I tried compiling USB gadget support on ppc64 (why not :). Looks like Im seeing a conflict between const and __devinitdata: drivers/usb/gadget/net2280.c:2645: pci_ids causes a section type conflict diff -Nru a/drivers/usb/gadget/net2280.c b/drivers/usb/gadget/net2280.c --- a/drivers/usb/gadget/net2280.c Tue May 20 17:25:35 2003 +++ b/drivers/usb/gadget/net2280.c Tue May 20 17:25:35 2003 @@ -2642,7 +2642,7 @@ /*-------------------------------------------------------------------------*/ -static const struct pci_device_id __devinitdata pci_ids [] = { { +static struct pci_device_id __devinitdata pci_ids [] = { { .class = ((PCI_CLASS_SERIAL_USB << 8) | 0xfe), .class_mask = ~0, .vendor = 0x17cc,