Files
eternalwrt-mt798x/package/kernel/lantiq/vrx518_ep/patches/300-fix-conflicting-define.patch
T
David Bauer 3b69c2888f 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@david-bauer.net>
2026-02-23 19:34:48 +01:00

11 lines
185 B
Diff

--- 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) "." \