From a87af7c58b1f5af0d6a6093465d1a5ed8054434c Mon Sep 17 00:00:00 2001 From: Lisa Nguyen Date: Fri, 17 May 2013 11:52:28 -0700 Subject: [PATCH] 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 --- drivers/staging/speakup/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') -- 2.30.2