package/madwifi: fix for kernels >= 2.6.38
[openwrt.git] / package / madwifi / patches / 466-2.6.38_compile.patch
1 --- a/include/compat.h
2 +++ b/include/compat.h
3 @@ -131,6 +131,11 @@
4 #ifdef __KERNEL__
5
6 #include <linux/version.h>
7 +
8 +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,38)
9 +#define AUTOCONF_INCLUDED 1
10 +#endif
11 +
12 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,21)
13 #define ATH_REGISTER_SYSCTL_TABLE(t) register_sysctl_table(t, 1)
14 #else
This page took 0.043054 seconds and 5 git commands to generate.