| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * cpu-sa1100.c: clock scaling for the SA1100 |
|---|
| 3 | 4 | * |
|---|
| .. | .. |
|---|
| 25 | 26 | * P.O. Box 5031 |
|---|
| 26 | 27 | * 2600 GA Delft |
|---|
| 27 | 28 | * The Netherlands |
|---|
| 28 | | - * |
|---|
| 29 | | - * |
|---|
| 30 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 31 | | - * it under the terms of the GNU General Public License as published by |
|---|
| 32 | | - * the Free Software Foundation; either version 2 of the License, or |
|---|
| 33 | | - * (at your option) any later version. |
|---|
| 34 | | - * |
|---|
| 35 | | - * This program is distributed in the hope that it will be useful, |
|---|
| 36 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 37 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 38 | | - * GNU General Public License for more details. |
|---|
| 39 | | - * |
|---|
| 40 | | - * You should have received a copy of the GNU General Public License |
|---|
| 41 | | - * along with this program; if not, write to the Free Software |
|---|
| 42 | | - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|---|
| 43 | | - * |
|---|
| 44 | 29 | * |
|---|
| 45 | 30 | * Theory of operations |
|---|
| 46 | 31 | * ==================== |
|---|
| .. | .. |
|---|
| 80 | 65 | * sa1100_update_dram_timings(), you'll have to read sections 8.2, |
|---|
| 81 | 66 | * 9.5.7.3, and 10.2 from the "Intel StrongARM SA-1100 Microprocessor |
|---|
| 82 | 67 | * Developers Manual" (available for free from Intel). |
|---|
| 83 | | - * |
|---|
| 84 | 68 | */ |
|---|
| 85 | 69 | |
|---|
| 86 | 70 | #include <linux/kernel.h> |
|---|
| .. | .. |
|---|
| 197 | 181 | |
|---|
| 198 | 182 | static int __init sa1100_cpu_init(struct cpufreq_policy *policy) |
|---|
| 199 | 183 | { |
|---|
| 200 | | - return cpufreq_generic_init(policy, sa11x0_freq_table, 0); |
|---|
| 184 | + cpufreq_generic_init(policy, sa11x0_freq_table, 0); |
|---|
| 185 | + return 0; |
|---|
| 201 | 186 | } |
|---|
| 202 | 187 | |
|---|
| 203 | 188 | static struct cpufreq_driver sa1100_driver __refdata = { |
|---|