Commit 1b8860df authored by Cyril Roelandt's avatar Cyril Roelandt Committed by Felipe Balbi

usb: amd5536udc: use the DEFINE_PCI_DEVICE_TABLE macro

Use DEFINE_PCI_DEVICE_TABLE instead of "const struct pci_device_id".
Signed-off-by: default avatarCyril Roelandt <tipecaml@gmail.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent 1435db48
......@@ -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,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment