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 | |
parent | c7e241df5970171e3e86a516f91ca8a30ca516e8 (diff) | |
download | linux-stable-dfcb0a54a69d8febb7f658074ee8ce388be47739.tar.gz linux-stable-dfcb0a54a69d8febb7f658074ee8ce388be47739.tar.bz2 linux-stable-dfcb0a54a69d8febb7f658074ee8ce388be47739.zip |
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>
-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 bc447b9003c3..a2258090b58b 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 }, {} }; |