aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi/patches/466-2.6.38_compile.patch
blob: 10a6f0debbd8aa20c10d4f51910fbce5238fa398 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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