summaryrefslogtreecommitdiffstats
path: root/drivers/platform
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2011-07-07 04:22:46 +0200
committerMatthew Garrett <mjg@redhat.com>2011-08-05 20:46:15 +0200
commitdaa7769641019e9a0da180170cc1cd1b8ebd1641 (patch)
tree5ad84d03c5d7e8ec2e98d77c98e07c195320475a /drivers/platform
parentplatform-drivers-x86: intel_rar_register: convert to DEFINE_PCI_DEVICE_TABLE (diff)
downloadlinux-daa7769641019e9a0da180170cc1cd1b8ebd1641.tar.xz
linux-daa7769641019e9a0da180170cc1cd1b8ebd1641.zip
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>
Diffstat (limited to 'drivers/platform')
-rw-r--r--drivers/platform/x86/intel_scu_ipc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/intel_scu_ipc.c b/drivers/platform/x86/intel_scu_ipc.c
index 940accbe28d3..c86665369a22 100644
--- a/drivers/platform/x86/intel_scu_ipc.c
+++ b/drivers/platform/x86/intel_scu_ipc.c
@@ -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,}