diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-05-09 15:08:29 +0900 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-05-17 01:16:15 +0200 |
commit | dfcb0a54a69d8febb7f658074ee8ce388be47739 (patch) | |
tree | 5ae0244a5b769839ebcaea261b9bed728dafcff2 /drivers/cpufreq | |
parent | c7e241df5970171e3e86a516f91ca8a30ca516e8 (diff) | |
download | op-kernel-dev-dfcb0a54a69d8febb7f658074ee8ce388be47739.zip op-kernel-dev-dfcb0a54a69d8febb7f658074ee8ce388be47739.tar.gz |
cpufreq: nforce2: remove DEFINE_PCI_DEVICE_TABLE macro
Don't use DEFINE_PCI_DEVICE_TABLE macro, because this macro
is deprecated.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq')
-rw-r--r-- | drivers/cpufreq/cpufreq-nforce2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpufreq/cpufreq-nforce2.c b/drivers/cpufreq/cpufreq-nforce2.c index bc447b9..a225809 100644 --- a/drivers/cpufreq/cpufreq-nforce2.c +++ b/drivers/cpufreq/cpufreq-nforce2.c @@ -379,7 +379,7 @@ static struct cpufreq_driver nforce2_driver = { }; #ifdef MODULE -static DEFINE_PCI_DEVICE_TABLE(nforce2_ids) = { +static const struct pci_device_id nforce2_ids[] = { { PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE2 }, {} }; |