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>
11 lines
185 B
Diff
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) "." \
|