platform-drivers-x86: intel_scu_ipc: convert to DEFINE_PCI_DEVICE_TABLE
authorAxel Lin <axel.lin@gmail.com>
Thu, 7 Jul 2011 02:22:46 +0000 (10:22 +0800)
committerMatthew Garrett <mjg@redhat.com>
Fri, 5 Aug 2011 18:46:15 +0000 (14:46 -0400)
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/intel_scu_ipc.c

index 940accbe28d3a2db53c745217bf85f2dd36a1bc0..c86665369a22d4b24a23707d5b7f24d955dc2a1a 100644 (file)
@@ -725,7 +725,7 @@ static void ipc_remove(struct pci_dev *pdev)
        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, 0x082a)},
        { 0,}