| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Cyrix MediaGX and NatSemi Geode Suspend Modulation |
|---|
| 3 | 4 | * (C) 2002 Zwane Mwaikambo <zwane@commfireservices.com> |
|---|
| 4 | 5 | * (C) 2002 Hiroshi Miura <miura@da-cha.org> |
|---|
| 5 | 6 | * All Rights Reserved |
|---|
| 6 | | - * |
|---|
| 7 | | - * This program is free software; you can redistribute it and/or |
|---|
| 8 | | - * modify it under the terms of the GNU General Public License |
|---|
| 9 | | - * version 2 as published by the Free Software Foundation |
|---|
| 10 | 7 | * |
|---|
| 11 | 8 | * The author(s) of this software shall not be held liable for damages |
|---|
| 12 | 9 | * of any nature resulting due to the use of this software. This |
|---|
| .. | .. |
|---|
| 47 | 44 | * |
|---|
| 48 | 45 | * off_duration = (freq * DURATION) / stock_freq |
|---|
| 49 | 46 | * on_duration = DURATION - off_duration |
|---|
| 50 | | - * |
|---|
| 51 | 47 | * |
|---|
| 52 | 48 | *--------------------------------------------------------------------------- |
|---|
| 53 | 49 | * |
|---|
| .. | .. |
|---|
| 332 | 328 | * for the hardware supported by the driver. |
|---|
| 333 | 329 | */ |
|---|
| 334 | 330 | |
|---|
| 335 | | -static int cpufreq_gx_verify(struct cpufreq_policy *policy) |
|---|
| 331 | +static int cpufreq_gx_verify(struct cpufreq_policy_data *policy) |
|---|
| 336 | 332 | { |
|---|
| 337 | 333 | unsigned int tmp_freq = 0; |
|---|
| 338 | 334 | u8 tmp1, tmp2; |
|---|