mirror of
https://git.openwrt.org/feed/routing.git
synced 2024-06-16 04:04:04 +02:00
500352d44f
The minimal kernel version in OpenWrt is now Linux 5.10.111. It already provides various thing which needed special patches on older versions. Signed-off-by: Sven Eckelmann <sven@narfation.org>
20 lines
580 B
Diff
20 lines
580 B
Diff
From: Sven Eckelmann <sven@narfation.org>
|
|
Date: Tue, 14 Sep 2021 21:02:10 +0200
|
|
Subject: Revert "batman-adv: Switch to kstrtox.h for kstrtou64"
|
|
|
|
This header is only available after Linux 5.14
|
|
|
|
This reverts commit c9a69cb4048ebef3a4d91835669011a26d9b7dab.
|
|
|
|
--- 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/kstrtox.h>
|
|
+#include <linux/kernel.h>
|
|
#include <linux/limits.h>
|
|
#include <linux/math64.h>
|
|
#include <linux/netdevice.h>
|