diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-12-03 02:10:29 -0500 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2014-01-15 00:36:30 -0500 |
commit | cd9bb0564c551f8a72763dd45590e9ea6787811e (patch) | |
tree | 009f16efee0737510a2ad6e99ac75271427b2b66 /drivers/hwmon/sis5595.c | |
parent | 3f9aec7610b39521c7c69d754de7265f6994c194 (diff) |
hwmon: remove DEFINE_PCI_DEVICE_TABLE macro
Don't use DEFINE_PCI_DEVICE_TABLE macro, because this macro
is not preferred.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Acked-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/sis5595.c')
-rw-r--r-- | drivers/hwmon/sis5595.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/sis5595.c b/drivers/hwmon/sis5595.c index 72a889702f0d..e74bd7e620e8 100644 --- a/drivers/hwmon/sis5595.c +++ b/drivers/hwmon/sis5595.c | |||
@@ -754,7 +754,7 @@ static struct sis5595_data *sis5595_update_device(struct device *dev) | |||
754 | return data; | 754 | return data; |
755 | } | 755 | } |
756 | 756 | ||
757 | static DEFINE_PCI_DEVICE_TABLE(sis5595_pci_ids) = { | 757 | static const struct pci_device_id sis5595_pci_ids[] = { |
758 | { PCI_DEVICE(PCI_VENDOR_ID_SI, PCI_DEVICE_ID_SI_503) }, | 758 | { PCI_DEVICE(PCI_VENDOR_ID_SI, PCI_DEVICE_ID_SI_503) }, |
759 | { 0, } | 759 | { 0, } |
760 | }; | 760 | }; |