mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-13 19:06:43 +07:00
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>
This commit is contained in:
parent
1435db486c
commit
1b8860df38
@ -3406,7 +3406,7 @@ static int udc_remote_wakeup(struct udc *dev)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* PCI device parameters */
|
/* 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),
|
PCI_DEVICE(PCI_VENDOR_ID_AMD, 0x2096),
|
||||||
.class = (PCI_CLASS_SERIAL_USB << 8) | 0xfe,
|
.class = (PCI_CLASS_SERIAL_USB << 8) | 0xfe,
|
||||||
|
Loading…
Reference in New Issue
Block a user