summaryrefslogtreecommitdiff
path: root/net/batman-adv
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2021-07-23 19:23:17 +0200
committerSimon Wunderlich <sw@simonwunderlich.de>2021-08-08 20:05:46 +0200
commit70eeb75d4c4d288411c4312435aad3c8597722b3 (patch)
treedc6df2d1183f18627e8e859f545e09a155c8aacf /net/batman-adv
parent71d41c09f1fad1b3b4a26658655922944b56f6e7 (diff)
downloadlinux-next-70eeb75d4c4d288411c4312435aad3c8597722b3.tar.gz
batman-adv: Switch to kstrtox.h for kstrtou64
The commit 4c52729377ea ("kernel.h: split out kstrtox() and simple_strtox() to a separate header") moved the kstrtou64 function to a new header called linux/kstrtox.h. Signed-off-by: Sven Eckelmann <sven@narfation.org> Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Diffstat (limited to 'net/batman-adv')
-rw-r--r--net/batman-adv/gateway_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/batman-adv/gateway_common.c b/net/batman-adv/gateway_common.c
index fdde305a198e..9349c76f30c5 100644
--- a/net/batman-adv/gateway_common.c
+++ b/net/batman-adv/gateway_common.c
@@ -10,7 +10,7 @@
#include <linux/atomic.h>
#include <linux/byteorder/generic.h>
#include <linux/errno.h>
-#include <linux/kernel.h>
+#include <linux/kstrtox.h>
#include <linux/limits.h>
#include <linux/math64.h>
#include <linux/netdevice.h>