projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
hwmon: use DEFINE_PCI_DEVICE_TABLE
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
hwmon
/
sis5595.c
diff --git
a/drivers/hwmon/sis5595.c
b/drivers/hwmon/sis5595.c
index 47d7ce9af8fb83121fafdb3b5c3ba8a3454740a5..33242456e2d230ac564fc741d80efa3aa126b1e8 100644
(file)
--- 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, }
};