diff options
author | Sachin Kamat <sachin.kamat@samsung.com> | 2014-06-30 13:46:40 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-07-09 11:49:15 -0700 |
commit | 6de2a1a7b9e22b267024e9adbb12360ef8139669 (patch) | |
tree | 020a7a152b53ae36df6b0d897a4d42513edcc450 /drivers/staging/emxx_udc | |
parent | 4fb6a37c3f94c1cb4b828bfcc4347771e1628f88 (diff) | |
download | linux-6de2a1a7b9e22b267024e9adbb12360ef8139669.tar.gz linux-6de2a1a7b9e22b267024e9adbb12360ef8139669.tar.bz2 linux-6de2a1a7b9e22b267024e9adbb12360ef8139669.zip |
staging: emxx_udc: Fix build error
‘strict_strtol’ is deprecated. Use kstrtol instead. Fixes the following
build error:
drivers/staging/emxx_udc/emxx_udc.c:3288:3: error: implicit declaration of function ‘strict_strtol’
Signed-off-by: Sachin Kamat <sachin.kamat@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/emxx_udc')
-rw-r--r-- | drivers/staging/emxx_udc/emxx_udc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/emxx_udc/emxx_udc.c b/drivers/staging/emxx_udc/emxx_udc.c index ce1b95b0abfc..0003463cd231 100644 --- a/drivers/staging/emxx_udc/emxx_udc.c +++ b/drivers/staging/emxx_udc/emxx_udc.c @@ -3285,7 +3285,7 @@ static void __init nbu2ss_drv_set_ep_info( tempbuf[0] = name[2]; tempbuf[1] = '\0'; - res = strict_strtol(tempbuf, 16, &num); + res = kstrtol(tempbuf, 16, &num); if (num == 0) ep->ep.maxpacket = EP0_PACKETSIZE; |