diff options
author | Cyril Roelandt <tipecaml@gmail.com> | 2012-02-24 20:15:00 -0500 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2012-02-27 09:34:12 -0500 |
commit | 1b8860df38963218a30e9f1f39d649c992cb9efa (patch) | |
tree | 6e86ea8de93cacf615e3608f3172a0b78a125924 /drivers/usb/gadget/amd5536udc.c | |
parent | 1435db486c131b4b76d8e2a261ae6292ffc3f7ca (diff) |
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>
Diffstat (limited to 'drivers/usb/gadget/amd5536udc.c')
-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) | |||
3406 | } | 3406 | } |
3407 | 3407 | ||
3408 | /* PCI device parameters */ | 3408 | /* PCI device parameters */ |
3409 | static const struct pci_device_id pci_id[] = { | 3409 | static DEFINE_PCI_DEVICE_TABLE(pci_id) = { |
3410 | { | 3410 | { |
3411 | PCI_DEVICE(PCI_VENDOR_ID_AMD, 0x2096), | 3411 | PCI_DEVICE(PCI_VENDOR_ID_AMD, 0x2096), |
3412 | .class = (PCI_CLASS_SERIAL_USB << 8) | 0xfe, | 3412 | .class = (PCI_CLASS_SERIAL_USB << 8) | 0xfe, |