| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * linux/arch/arm/mach-sa1100/cpu-sa1110.c |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (C) 2001 Russell King |
|---|
| 5 | | - * |
|---|
| 6 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 7 | | - * it under the terms of the GNU General Public License version 2 as |
|---|
| 8 | | - * published by the Free Software Foundation. |
|---|
| 9 | 6 | * |
|---|
| 10 | 7 | * Note: there are two erratas that apply to the SA1110 here: |
|---|
| 11 | 8 | * 7 - SDRAM auto-power-up failure (rev A0) |
|---|
| .. | .. |
|---|
| 306 | 303 | |
|---|
| 307 | 304 | static int __init sa1110_cpu_init(struct cpufreq_policy *policy) |
|---|
| 308 | 305 | { |
|---|
| 309 | | - return cpufreq_generic_init(policy, sa11x0_freq_table, 0); |
|---|
| 306 | + cpufreq_generic_init(policy, sa11x0_freq_table, 0); |
|---|
| 307 | + return 0; |
|---|
| 310 | 308 | } |
|---|
| 311 | 309 | |
|---|
| 312 | 310 | /* sa1110_driver needs __refdata because it must remain after init registers |
|---|