platform-drivers-x86: intel_scu_ipc: convert to DEFINE_PCI_DEVICE_TABLE
Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Matthew Garrett <mjg@redhat.com>
This commit is contained in:
committed by
Matthew Garrett
parent
b73210aec4
commit
daa7769641
@@ -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,}
|
||||||
|
Reference in New Issue
Block a user