compat: build kstrtox for kernel < 2.6.25
authorHauke Mehrtens <hauke@hauke-m.de>
Thu, 28 Mar 2013 19:18:27 +0000 (20:18 +0100)
committerLuis R. Rodriguez <mcgrof@do-not-panic.com>
Fri, 29 Mar 2013 00:31:32 +0000 (17:31 -0700)
strict_strtol with one l is defined in compat-2.6.25.h code now and
this deactivates this check, use strict_strtoll instead.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
compat/kstrtox.c

index 266ffbc91bf76521ec54b9311ae06acd588dbf1d..fdbc56eb3f0486bc9520df0a0564b1b503e5cefe 100644 (file)
@@ -17,7 +17,7 @@
  * version included in compat-drivers. We use strict_strtol to check if
  * kstrto* is already available.
  */
-#ifndef strict_strtol
+#ifndef strict_strtoll
 
 #include <linux/ctype.h>
 #include <linux/errno.h>