hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/cpufreq/cpufreq-nforce2.c
....@@ -1,7 +1,7 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * (C) 2004-2006 Sebastian Witt <se.witt@gmx.net>
34 *
4
- * Licensed under the terms of the GNU GPL License version 2.
55 * Based upon reverse engineered information
66 *
77 * BIG FAT DISCLAIMER: Work in progress code. Possibly *dangerous*
....@@ -123,8 +123,6 @@
123123 /* Now write the value in all 64 registers */
124124 for (temp = 0; temp <= 0x3f; temp++)
125125 pci_write_config_dword(nforce2_dev, NFORCE2_PLLREG, pll);
126
-
127
- return;
128126 }
129127
130128 /**
....@@ -293,7 +291,7 @@
293291 * nforce2_verify - verifies a new CPUFreq policy
294292 * @policy: new policy
295293 */
296
-static int nforce2_verify(struct cpufreq_policy *policy)
294
+static int nforce2_verify(struct cpufreq_policy_data *policy)
297295 {
298296 unsigned int fsb_pol_max;
299297
....@@ -438,4 +436,3 @@
438436
439437 module_init(nforce2_init);
440438 module_exit(nforce2_exit);
441
-