From 86265da9654051b3b3beaaf3edab9f4e15148db4 Mon Sep 17 00:00:00 2001 From: "Alexandros C. Couloumbis" Date: Thu, 24 Feb 2011 15:53:32 +0000 Subject: [PATCH] package/madwifi: fix for kernels >= 2.6.38 SVN-Revision: 25702 --- package/madwifi/patches/466-2.6.38_compile.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 package/madwifi/patches/466-2.6.38_compile.patch diff --git a/package/madwifi/patches/466-2.6.38_compile.patch b/package/madwifi/patches/466-2.6.38_compile.patch new file mode 100644 index 00000000000..10a6f0debbd --- /dev/null +++ b/package/madwifi/patches/466-2.6.38_compile.patch @@ -0,0 +1,14 @@ +--- a/include/compat.h ++++ b/include/compat.h +@@ -131,6 +131,11 @@ + #ifdef __KERNEL__ + + #include ++ ++#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 -- 2.30.2