Commit daa77696 authored by Axel Lin's avatar Axel Lin Committed by Matthew Garrett

platform-drivers-x86: intel_scu_ipc: convert to DEFINE_PCI_DEVICE_TABLE

Signed-off-by: default avatarAxel Lin <axel.lin@gmail.com>
Signed-off-by: default avatarMatthew Garrett <mjg@redhat.com>
parent b73210ae
...@@ -725,7 +725,7 @@ static void ipc_remove(struct pci_dev *pdev) ...@@ -725,7 +725,7 @@ static void ipc_remove(struct pci_dev *pdev)
intel_scu_devices_destroy(); intel_scu_devices_destroy();
} }
static const struct pci_device_id pci_ids[] = { static DEFINE_PCI_DEVICE_TABLE(pci_ids) = {
{PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x080e)}, {PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x080e)},
{PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x082a)}, {PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x082a)},
{ 0,} { 0,}
......
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