]> git.sur5r.net Git - groeck-nct6775/commit
compat.h: Make kstrtol definition conditional
authorGuenter Roeck <linux@roeck-us.net>
Thu, 11 Dec 2014 17:03:19 +0000 (09:03 -0800)
committerGuenter Roeck <linux@roeck-us.net>
Thu, 11 Dec 2014 17:03:19 +0000 (09:03 -0800)
commit8f3e248838fca3270dcdd23cffa9a00e7fb329b3
treea2a817950464bdadaf1fa4287880295709c30d75
parent74c5c007daa6325b99d88b3f2015f46c9d6a8184
compat.h: Make kstrtol definition conditional

strict_strtol and strict_strtoul are no longer defined in the latest kernel,
so don't use those functions unless really needed.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
compat.h