Commit b86e8bd6 authored by Anton Blanchard's avatar Anton Blanchard

[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
parent 5aacaa7c
...@@ -2642,7 +2642,7 @@ static int net2280_probe (struct pci_dev *pdev, const struct pci_device_id *id) ...@@ -2642,7 +2642,7 @@ static int net2280_probe (struct pci_dev *pdev, const struct pci_device_id *id)
/*-------------------------------------------------------------------------*/ /*-------------------------------------------------------------------------*/
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 = ((PCI_CLASS_SERIAL_USB << 8) | 0xfe),
.class_mask = ~0, .class_mask = ~0,
.vendor = 0x17cc, .vendor = 0x17cc,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment