summaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq
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 /drivers/cpufreq
parentc7e241df5970171e3e86a516f91ca8a30ca516e8 (diff)
downloadop-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.c2
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 },
{}
};
OpenPOWER on IntegriCloud