From: Lisa Nguyen Date: Fri, 17 May 2013 18:52:28 +0000 (-0700) Subject: staging/speakup: Replaced deprecated function X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a87af7c58b1f5af0d6a6093465d1a5ed8054434c;p=linux-beck.git staging/speakup: Replaced deprecated function Replaced simple_strtol() function with kstrtol() function in main.c Signed-off-by: Lisa Nguyen Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/speakup/main.c b/drivers/staging/speakup/main.c index 3ea251508673..e91d2132a873 100644 --- a/drivers/staging/speakup/main.c +++ b/drivers/staging/speakup/main.c @@ -1892,7 +1892,7 @@ oops: spk_special_handler = NULL; return 1; } - go_pos = simple_strtol(goto_buf, &cp, 10); + go_pos = kstrtol(goto_buf, &cp, 10); goto_pos = (u_long) go_pos; if (*cp == 'x') { if (*goto_buf < '0')