Skip to content

Commit

Permalink
usb: amd5536udc: use the DEFINE_PCI_DEVICE_TABLE macro
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Cyril Roelandt authored and Felipe Balbi committed Feb 27, 2012
1 parent 1435db4 commit 1b8860d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/usb/gadget/amd5536udc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 1b8860d

Please sign in to comment.