diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-12-03 08:10:29 +0100 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2014-01-15 06:36:30 +0100 |
commit | cd9bb0564c551f8a72763dd45590e9ea6787811e (patch) | |
tree | 009f16efee0737510a2ad6e99ac75271427b2b66 /drivers/hwmon/fam15h_power.c | |
parent | hwmon: (coretemp) Fix truncated name of alarm attributes (diff) | |
download | linux-cd9bb0564c551f8a72763dd45590e9ea6787811e.tar.xz linux-cd9bb0564c551f8a72763dd45590e9ea6787811e.zip |
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/fam15h_power.c')
-rw-r--r-- | drivers/hwmon/fam15h_power.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/fam15h_power.c b/drivers/hwmon/fam15h_power.c index dff841085baf..6040121a405a 100644 --- a/drivers/hwmon/fam15h_power.c +++ b/drivers/hwmon/fam15h_power.c @@ -249,7 +249,7 @@ static void fam15h_power_remove(struct pci_dev *pdev) sysfs_remove_group(&dev->kobj, &fam15h_power_attr_group); } -static DEFINE_PCI_DEVICE_TABLE(fam15h_power_id_table) = { +static const struct pci_device_id fam15h_power_id_table[] = { { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_15H_NB_F4) }, { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_16H_NB_F4) }, {} |