summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/sis5595.c
diff options
context:
space:
mode:
authorFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2012-01-05 19:50:17 +0100
committerGuenter Roeck <guenter.roeck@ericsson.com>2012-03-18 18:26:29 -0700
commit600151b9de97bd580f9dc09199a10f0c2b65cb97 (patch)
tree9b8e9c962df0cc4c143697f2025ecf6587a79b97 /drivers/hwmon/sis5595.c
parent7fe83ad877321f44c8141b8334bd2f6614deb739 (diff)
downloadblackbird-op-linux-600151b9de97bd580f9dc09199a10f0c2b65cb97.tar.gz
blackbird-op-linux-600151b9de97bd580f9dc09199a10f0c2b65cb97.zip
hwmon: use DEFINE_PCI_DEVICE_TABLE
fix all checkpatch warnings about DEFINE_PCI_DEVICE_TABLE Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com> Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Diffstat (limited to 'drivers/hwmon/sis5595.c')
-rw-r--r--drivers/hwmon/sis5595.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/sis5595.c b/drivers/hwmon/sis5595.c
index 47d7ce9af8fb..33242456e2d2 100644
--- a/drivers/hwmon/sis5595.c
+++ b/drivers/hwmon/sis5595.c
@@ -699,7 +699,7 @@ static struct sis5595_data *sis5595_update_device(struct device *dev)
return data;
}
-static const struct pci_device_id sis5595_pci_ids[] = {
+static DEFINE_PCI_DEVICE_TABLE(sis5595_pci_ids) = {
{ PCI_DEVICE(PCI_VENDOR_ID_SI, PCI_DEVICE_ID_SI_503) },
{ 0, }
};
OpenPOWER on IntegriCloud