mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 01:11:14 +00:00
1bfcc1ea8a
Brings lots of driver updates and API changes needed for mt76 updates. Disable iwlwifi and ath11k on 5.15, since backport is too difficult, and the only remaining targets won't need those drivers. Signed-off-by: Felix Fietkau <nbd@nbd.name>
26 lines
589 B
Diff
26 lines
589 B
Diff
--- a/backport-include/linux/random.h
|
|
+++ b/backport-include/linux/random.h
|
|
@@ -15,7 +15,7 @@ static inline u16 get_random_u16(void)
|
|
}
|
|
#endif
|
|
|
|
-#if LINUX_VERSION_IS_LESS(6,2,0)
|
|
+#if LINUX_VERSION_IS_LESS(6,1,4)
|
|
static inline u32 __get_random_u32_below(u32 ceil)
|
|
{
|
|
/*
|
|
--- a/backport-include/net/dropreason.h
|
|
+++ b/backport-include/net/dropreason.h
|
|
@@ -3,10 +3,9 @@
|
|
|
|
#include <linux/version.h>
|
|
|
|
+#include <net/dropreason-core.h>
|
|
#if LINUX_VERSION_IS_GEQ(6,0,0)
|
|
#include_next <net/dropreason.h>
|
|
-#else
|
|
-#include <net/dropreason-core.h>
|
|
#endif
|
|
|
|
#if LINUX_VERSION_IS_LESS(6,4,0)
|