From: Cyril Roelandt Date: Sat, 25 Feb 2012 01:15:00 +0000 (+0100) Subject: usb: amd5536udc: use the DEFINE_PCI_DEVICE_TABLE macro X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=1b8860df38963218a30e9f1f39d649c992cb9efa;p=linux-beck.git usb: amd5536udc: use the DEFINE_PCI_DEVICE_TABLE macro Use DEFINE_PCI_DEVICE_TABLE instead of "const struct pci_device_id". Signed-off-by: Cyril Roelandt Signed-off-by: Felipe Balbi --- diff --git a/drivers/usb/gadget/amd5536udc.c b/drivers/usb/gadget/amd5536udc.c index ad72ab72f041..d28bc245ad52 100644 --- a/drivers/usb/gadget/amd5536udc.c +++ b/drivers/usb/gadget/amd5536udc.c @@ -3406,7 +3406,7 @@ static int udc_remote_wakeup(struct udc *dev) } /* PCI device parameters */ -static const struct pci_device_id pci_id[] = { +static DEFINE_PCI_DEVICE_TABLE(pci_id) = { { PCI_DEVICE(PCI_VENDOR_ID_AMD, 0x2096), .class = (PCI_CLASS_SERIAL_USB << 8) | 0xfe,