Commit 6de2a1a7 authored by Sachin Kamat's avatar Sachin Kamat Committed by Greg Kroah-Hartman
Browse files

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: default avatarSachin Kamat <sachin.kamat@samsung.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 4fb6a37c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;