void-packages/srcpkgs/broadcom-wl-dkms/patches/017-linux-6.12.patch
2025-05-21 07:17:56 +07:00

14 lines
305 B
Diff

--- a/src/wl/sys/wl_linux.c
+++ b/src/wl/sys/wl_linux.c
@@ -56,7 +56,11 @@
#include <asm/irq.h>
#include <asm/pgtable.h>
#include <asm/uaccess.h>
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 12, 0)
+#include <linux/unaligned.h>
+#else
#include <asm/unaligned.h>
+#endif
#include <proto/802.1d.h>