Commit dfcb0a54 authored by Jingoo Han's avatar Jingoo Han Committed by Rafael J. Wysocki

cpufreq: nforce2: remove DEFINE_PCI_DEVICE_TABLE macro

Don't use DEFINE_PCI_DEVICE_TABLE macro, because this macro
is deprecated.
Signed-off-by: default avatarJingoo Han <jg1.han@samsung.com>
Acked-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent c7e241df
...@@ -379,7 +379,7 @@ static struct cpufreq_driver nforce2_driver = { ...@@ -379,7 +379,7 @@ static struct cpufreq_driver nforce2_driver = {
}; };
#ifdef MODULE #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 }, { PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE2 },
{} {}
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment