Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Jingoo Han and committed by
Rafael J. Wysocki
dfcb0a54 c7e241df

+1 -1
+1 -1
drivers/cpufreq/cpufreq-nforce2.c
··· 379 379 }; 380 380 381 381 #ifdef MODULE 382 - static DEFINE_PCI_DEVICE_TABLE(nforce2_ids) = { 382 + static const struct pci_device_id nforce2_ids[] = { 383 383 { PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE2 }, 384 384 {} 385 385 };