usb: gadget: amd5536udc: remove DEFINE_PCI_DEVICE_TABLE macro
authorJingoo Han <jg1.han@samsung.com>
Thu, 28 Nov 2013 05:16:30 +0000 (14:16 +0900)
committerFelipe Balbi <balbi@ti.com>
Fri, 6 Dec 2013 19:47:04 +0000 (13:47 -0600)
Don't use DEFINE_PCI_DEVICE_TABLE macro, because this macro
is not preferred.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/amd5536udc.c

index 54a1e2954cea9d53384085e04b91d65418fb575e..f0ff4a675e9d738a0423b080371e8c77f2504fac 100644 (file)
@@ -3338,7 +3338,7 @@ static int udc_remote_wakeup(struct udc *dev)
 }
 
 /* PCI device parameters */
-static DEFINE_PCI_DEVICE_TABLE(pci_id) = {
+static const struct pci_device_id pci_id[] = {
        {
                PCI_DEVICE(PCI_VENDOR_ID_AMD, 0x2096),
                .class =        (PCI_CLASS_SERIAL_USB << 8) | 0xfe,
This page took 0.029913 seconds and 5 git commands to generate.