diff options
author | Cyril Roelandt <tipecaml@gmail.com> | 2012-02-25 02:15:00 +0100 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2012-02-27 16:34:12 +0200 |
commit | 1b8860df38963218a30e9f1f39d649c992cb9efa (patch) | |
tree | 6e86ea8de93cacf615e3608f3172a0b78a125924 | |
parent | 1435db486c131b4b76d8e2a261ae6292ffc3f7ca (diff) | |
download | linux-1b8860df38963218a30e9f1f39d649c992cb9efa.tar.bz2 |
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 <tipecaml@gmail.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
-rw-r--r-- | drivers/usb/gadget/amd5536udc.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, |