gx-suspmod.c (75bf465f0bc33e9b776a46d6a1b9b990f5fb7c37) | gx-suspmod.c (1e4f63aecb53e48468661e922fc2fa3b83e55722) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * Cyrix MediaGX and NatSemi Geode Suspend Modulation 4 * (C) 2002 Zwane Mwaikambo <zwane@commfireservices.com> 5 * (C) 2002 Hiroshi Miura <miura@da-cha.org> 6 * All Rights Reserved 7 * 8 * The author(s) of this software shall not be held liable for damages --- 314 unchanged lines hidden (view full) --- 323 324/* 325 * cpufreq_gx_verify: test if frequency range is valid 326 * 327 * This function checks if a given frequency range in kHz is valid 328 * for the hardware supported by the driver. 329 */ 330 | 1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * Cyrix MediaGX and NatSemi Geode Suspend Modulation 4 * (C) 2002 Zwane Mwaikambo <zwane@commfireservices.com> 5 * (C) 2002 Hiroshi Miura <miura@da-cha.org> 6 * All Rights Reserved 7 * 8 * The author(s) of this software shall not be held liable for damages --- 314 unchanged lines hidden (view full) --- 323 324/* 325 * cpufreq_gx_verify: test if frequency range is valid 326 * 327 * This function checks if a given frequency range in kHz is valid 328 * for the hardware supported by the driver. 329 */ 330 |
331static int cpufreq_gx_verify(struct cpufreq_policy *policy) | 331static int cpufreq_gx_verify(struct cpufreq_policy_data *policy) |
332{ 333 unsigned int tmp_freq = 0; 334 u8 tmp1, tmp2; 335 336 if (!stock_freq || !policy) 337 return -EINVAL; 338 339 policy->cpu = 0; --- 159 unchanged lines hidden --- | 332{ 333 unsigned int tmp_freq = 0; 334 u8 tmp1, tmp2; 335 336 if (!stock_freq || !policy) 337 return -EINVAL; 338 339 policy->cpu = 0; --- 159 unchanged lines hidden --- |