| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * (C) 2004-2006 Sebastian Witt <se.witt@gmx.net> |
|---|
| 3 | 4 | * |
|---|
| 4 | | - * Licensed under the terms of the GNU GPL License version 2. |
|---|
| 5 | 5 | * Based upon reverse engineered information |
|---|
| 6 | 6 | * |
|---|
| 7 | 7 | * BIG FAT DISCLAIMER: Work in progress code. Possibly *dangerous* |
|---|
| .. | .. |
|---|
| 123 | 123 | /* Now write the value in all 64 registers */ |
|---|
| 124 | 124 | for (temp = 0; temp <= 0x3f; temp++) |
|---|
| 125 | 125 | pci_write_config_dword(nforce2_dev, NFORCE2_PLLREG, pll); |
|---|
| 126 | | - |
|---|
| 127 | | - return; |
|---|
| 128 | 126 | } |
|---|
| 129 | 127 | |
|---|
| 130 | 128 | /** |
|---|
| .. | .. |
|---|
| 293 | 291 | * nforce2_verify - verifies a new CPUFreq policy |
|---|
| 294 | 292 | * @policy: new policy |
|---|
| 295 | 293 | */ |
|---|
| 296 | | -static int nforce2_verify(struct cpufreq_policy *policy) |
|---|
| 294 | +static int nforce2_verify(struct cpufreq_policy_data *policy) |
|---|
| 297 | 295 | { |
|---|
| 298 | 296 | unsigned int fsb_pol_max; |
|---|
| 299 | 297 | |
|---|
| .. | .. |
|---|
| 438 | 436 | |
|---|
| 439 | 437 | module_init(nforce2_init); |
|---|
| 440 | 438 | module_exit(nforce2_exit); |
|---|
| 441 | | - |
|---|