summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLisa Nguyen <lisa@xenapiadmin.com>2013-05-17 11:52:28 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-05-17 14:53:50 -0700
commita87af7c58b1f5af0d6a6093465d1a5ed8054434c (patch)
treec9a7cae8b6c23c4082bde288d41ed87ae6efab64
parent69d8ba56594a23af4901e109a5b9178105b863b3 (diff)
staging/speakup: Replaced deprecated function
Replaced simple_strtol() function with kstrtol() function in main.c Signed-off-by: Lisa Nguyen <lisa@xenapiadmin.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/speakup/main.c2
1 files changed, 1 insertions, 1 deletions
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')