summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-05-09 15:08:29 +0900
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-05-17 01:16:15 +0200
commitdfcb0a54a69d8febb7f658074ee8ce388be47739 (patch)
tree5ae0244a5b769839ebcaea261b9bed728dafcff2
parentc7e241df5970171e3e86a516f91ca8a30ca516e8 (diff)
downloadlinux-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.c2
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 },
{}
};