]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: emxx_udc: Fix build error
authorSachin Kamat <sachin.kamat@samsung.com>
Mon, 30 Jun 2014 08:16:40 +0000 (13:46 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Jul 2014 18:49:15 +0000 (11:49 -0700)
‘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>
drivers/staging/emxx_udc/emxx_udc.c

index ce1b95b0abfcec18305e0a31db9e015e70c6f556..0003463cd231a4c632fea354ed4c20c2b15c062e 100644 (file)
@@ -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;