diff options
author | Axel Lin <axel.lin@gmail.com> | 2011-11-30 20:41:03 -0500 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-01-08 18:37:37 -0500 |
commit | 61485c63c4a4e823445da4ae8798d9082f6bc586 (patch) | |
tree | aca6825fda082914a0da00642a96c42c6e9a32fc /drivers/mfd/sm501.c | |
parent | 73fe6b2bc9dac9906bbe59475a681194db780370 (diff) |
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/sm501.c')
-rw-r--r-- | drivers/mfd/sm501.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/sm501.c b/drivers/mfd/sm501.c index df3702c1756d..f4d86117f44a 100644 --- a/drivers/mfd/sm501.c +++ b/drivers/mfd/sm501.c | |||
@@ -1720,7 +1720,7 @@ static int sm501_plat_remove(struct platform_device *dev) | |||
1720 | return 0; | 1720 | return 0; |
1721 | } | 1721 | } |
1722 | 1722 | ||
1723 | static struct pci_device_id sm501_pci_tbl[] = { | 1723 | static DEFINE_PCI_DEVICE_TABLE(sm501_pci_tbl) = { |
1724 | { 0x126f, 0x0501, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 }, | 1724 | { 0x126f, 0x0501, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 }, |
1725 | { 0, }, | 1725 | { 0, }, |
1726 | }; | 1726 | }; |