hc
2023-12-11 1f93a7dfd1f8d5ff7a5c53246c7534fe2332d6f4
kernel/drivers/cpufreq/gx-suspmod.c
....@@ -1,12 +1,9 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Cyrix MediaGX and NatSemi Geode Suspend Modulation
34 * (C) 2002 Zwane Mwaikambo <zwane@commfireservices.com>
45 * (C) 2002 Hiroshi Miura <miura@da-cha.org>
56 * 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
107 *
118 * The author(s) of this software shall not be held liable for damages
129 * of any nature resulting due to the use of this software. This
....@@ -47,7 +44,6 @@
4744 *
4845 * off_duration = (freq * DURATION) / stock_freq
4946 * on_duration = DURATION - off_duration
50
- *
5147 *
5248 *---------------------------------------------------------------------------
5349 *
....@@ -332,7 +328,7 @@
332328 * for the hardware supported by the driver.
333329 */
334330
335
-static int cpufreq_gx_verify(struct cpufreq_policy *policy)
331
+static int cpufreq_gx_verify(struct cpufreq_policy_data *policy)
336332 {
337333 unsigned int tmp_freq = 0;
338334 u8 tmp1, tmp2;