mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-09 02:43:53 +08:00
package/madwifi: fix for kernels >= 2.6.38
SVN-Revision: 25702
This commit is contained in:
parent
44c696ac78
commit
86265da965
14
package/madwifi/patches/466-2.6.38_compile.patch
Normal file
14
package/madwifi/patches/466-2.6.38_compile.patch
Normal file
@ -0,0 +1,14 @@
|
||||
--- a/include/compat.h
|
||||
+++ b/include/compat.h
|
||||
@@ -131,6 +131,11 @@
|
||||
#ifdef __KERNEL__
|
||||
|
||||
#include <linux/version.h>
|
||||
+
|
||||
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,38)
|
||||
+#define AUTOCONF_INCLUDED 1
|
||||
+#endif
|
||||
+
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,21)
|
||||
#define ATH_REGISTER_SYSCTL_TABLE(t) register_sysctl_table(t, 1)
|
||||
#else
|
Loading…
x
Reference in New Issue
Block a user