summaryrefslogtreecommitdiff
path: root/drivers/mfd/lpc_sch.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2011-12-01 05:41:03 +0400
committerSamuel Ortiz <sameo@linux.intel.com>2012-01-09 03:37:37 +0400
commit61485c63c4a4e823445da4ae8798d9082f6bc586 (patch)
treeaca6825fda082914a0da00642a96c42c6e9a32fc /drivers/mfd/lpc_sch.c
parent73fe6b2bc9dac9906bbe59475a681194db780370 (diff)
downloadlinux-61485c63c4a4e823445da4ae8798d9082f6bc586.tar.xz
mfd: Convert to DEFINE_PCI_DEVICE_TABLE
Convert static struct pci_device_id *[] to static DEFINE_PCI_DEVICE_TABLE tables. Cc: Andres Salomon <dilinger@queued.net> Cc: Denis Turischev <denis@compulab.co.il> Cc: Ben Dooks <ben@simtec.co.uk> Cc: Vincent Sanders <vince@simtec.co.uk> Cc: Mocean Laboratories <info@mocean-labs.com> Cc: Harald Welte <HaraldWelte@viatech.com> Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/lpc_sch.c')
-rw-r--r--drivers/mfd/lpc_sch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/lpc_sch.c b/drivers/mfd/lpc_sch.c
index ea1169b04779..abc421364a45 100644
--- a/drivers/mfd/lpc_sch.c
+++ b/drivers/mfd/lpc_sch.c
@@ -74,7 +74,7 @@ static struct mfd_cell tunnelcreek_cells[] = {
},
};
-static struct pci_device_id lpc_sch_ids[] = {
+static DEFINE_PCI_DEVICE_TABLE(lpc_sch_ids) = {
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_SCH_LPC) },
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ITC_LPC) },
{ 0, }