Commit ea25c37e authored by Jingoo Han's avatar Jingoo Han Committed by Felipe Balbi

usb: gadget: pch_udc: remove DEFINE_PCI_DEVICE_TABLE macro

Don't use DEFINE_PCI_DEVICE_TABLE macro, because this macro
is not preferred.
Signed-off-by: default avatarJingoo Han <jg1.han@samsung.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent 782df20c
...@@ -3210,7 +3210,7 @@ static int pch_udc_probe(struct pci_dev *pdev, ...@@ -3210,7 +3210,7 @@ static int pch_udc_probe(struct pci_dev *pdev,
return retval; return retval;
} }
static DEFINE_PCI_DEVICE_TABLE(pch_udc_pcidev_id) = { static const struct pci_device_id pch_udc_pcidev_id[] = {
{ {
PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_EG20T_UDC), PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_EG20T_UDC),
.class = (PCI_CLASS_SERIAL_USB << 8) | 0xfe, .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