diff options
author | Daniel Walter <dwalter@google.com> | 2014-06-03 16:22:08 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2014-06-04 22:50:41 +0200 |
commit | 8e9ecbc5e21bf82693e52ec75b1f45c1245a9bea (patch) | |
tree | 942b37cd217f9fc710fefffb80cd06b3d7e8f83d /arch/mips/txx9 | |
parent | 8ca635bfc0e4488d167cea322c7e098689f37080 (diff) | |
download | linux-8e9ecbc5e21bf82693e52ec75b1f45c1245a9bea.tar.gz linux-8e9ecbc5e21bf82693e52ec75b1f45c1245a9bea.tar.bz2 linux-8e9ecbc5e21bf82693e52ec75b1f45c1245a9bea.zip |
MIPS: Replace calls to obsolete strict_strto call with kstrto* equivalents.
Signed-off-by: Daniel Walter <dwalter@google.com>
Cc: linux-kernel@vger.kernel.org
Cc: richard@nod.at
Cc: akpm@linux-foundation.org
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/txx9')
-rw-r--r-- | arch/mips/txx9/generic/setup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/txx9/generic/setup.c b/arch/mips/txx9/generic/setup.c index 2b0b83c171e0..dd2cf25b5ae5 100644 --- a/arch/mips/txx9/generic/setup.c +++ b/arch/mips/txx9/generic/setup.c @@ -309,8 +309,8 @@ static void __init preprocess_cmdline(void) txx9_board_vec = find_board_byname(str + 6); continue; } else if (strncmp(str, "masterclk=", 10) == 0) { - unsigned long val; - if (strict_strtoul(str + 10, 10, &val) == 0) + unsigned int val; + if (kstrtouint(str + 10, 10, &val) == 0) txx9_master_clock = val; continue; } else if (strcmp(str, "icdisable") == 0) { |