Skip to content

Commit

Permalink
cpufreq: nforce2: remove DEFINE_PCI_DEVICE_TABLE macro
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jingoo Han authored and Rafael J. Wysocki committed May 16, 2014
1 parent c7e241d commit dfcb0a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/cpufreq/cpufreq-nforce2.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
{}
};
Expand Down

0 comments on commit dfcb0a5

Please sign in to comment.