cpufreq: nforce2: remove DEFINE_PCI_DEVICE_TABLE macro
authorJingoo Han <jg1.han@samsung.com>
Fri, 9 May 2014 06:08:29 +0000 (15:08 +0900)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 16 May 2014 23:16:15 +0000 (01:16 +0200)
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>
drivers/cpufreq/cpufreq-nforce2.c

index bc447b9003c3f579a74c706c2083089dc2b00c74..a2258090b58b9fa8ad5711516da71f5c5e491f02 100644 (file)
@@ -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 },
        {}
 };