提交 1b8860df 编写于 作者: C Cyril Roelandt 提交者: 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: NCyril Roelandt <tipecaml@gmail.com>
Signed-off-by: NFelipe Balbi <balbi@ti.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册