[openwrt/openwrt] ltq-vrx518-ep: fix build failure
LEDE Commits
lede-commits at lists.infradead.org
Wed Feb 25 10:43:36 PST 2026
blocktrron pushed a commit to openwrt/openwrt.git, branch openwrt-23.05:
https://git.openwrt.org/3b69c2888fd1056c320c2dbe28da8d13fae3129e
commit 3b69c2888fd1056c320c2dbe28da8d13fae3129e
Author: David Bauer <mail at david-bauer.net>
AuthorDate: Mon Feb 23 19:34:46 2026 +0100
ltq-vrx518-ep: fix build failure
Linux-stable received a commit where the MIN / MAX defines in the lantiq
drivers conflict with ones from the kernel.
Undefine the ones inherited from the kernel to fix builds.
Link: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-5.15.y&id=e035ca130ff7f5655f7c63caaeacaf0828f85cce
Signed-off-by: David Bauer <mail at david-bauer.net>
---
.../lantiq/vrx518_ep/patches/300-fix-conflicting-define.patch | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/package/kernel/lantiq/vrx518_ep/patches/300-fix-conflicting-define.patch b/package/kernel/lantiq/vrx518_ep/patches/300-fix-conflicting-define.patch
new file mode 100644
index 0000000000..0ce5d96709
--- /dev/null
+++ b/package/kernel/lantiq/vrx518_ep/patches/300-fix-conflicting-define.patch
@@ -0,0 +1,10 @@
+--- a/ep.c
++++ b/ep.c
+@@ -42,6 +42,7 @@
+ #define DC_EP_DBG
+
+ #define MAJ 2
++#undef MIN
+ #define MIN 1
+ #define BUILD 0
+ #define DRV_VERSION __stringify(MAJ) "." __stringify(MIN) "." \
More information about the lede-commits
mailing list