|
@@ -178,7 +178,8 @@ static int __init nuc900_set_cpufreq(char *str)
|
|
if (!*str)
|
|
if (!*str)
|
|
return 0;
|
|
return 0;
|
|
|
|
|
|
- strict_strtoul(str, 0, &cpufreq);
|
|
|
|
|
|
+ if (kstrtoul(str, 0, &cpufreq))
|
|
|
|
+ return 0;
|
|
|
|
|
|
nuc900_clock_source(NULL, "ext");
|
|
nuc900_clock_source(NULL, "ext");
|
|
|
|
|