diff options
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-w90x900/cpu.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-w90x900/cpu.c b/arch/arm/mach-w90x900/cpu.c index b1eabaad50a5..213230ee57d1 100644 --- a/arch/arm/mach-w90x900/cpu.c +++ b/arch/arm/mach-w90x900/cpu.c | |||
@@ -178,7 +178,8 @@ static int __init nuc900_set_cpufreq(char *str) | |||
178 | if (!*str) | 178 | if (!*str) |
179 | return 0; | 179 | return 0; |
180 | 180 | ||
181 | strict_strtoul(str, 0, &cpufreq); | 181 | if (kstrtoul(str, 0, &cpufreq)) |
182 | return 0; | ||
182 | 183 | ||
183 | nuc900_clock_source(NULL, "ext"); | 184 | nuc900_clock_source(NULL, "ext"); |
184 | 185 | ||