1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-18 15:59:43 +02:00
openwrt-xburst/package/madwifi/patches/466-2.6.38_compile.patch
acoul 0b7ff652f6 package/madwifi: fix for kernels >= 2.6.38
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25702 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-24 15:53:32 +00:00

15 lines
329 B
Diff

--- 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