aboutsummaryrefslogtreecommitdiffstats
path: root/package/ath9k/patches/110-regd_includes.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-07-20 11:44:14 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-07-20 11:44:14 +0000
commitd53ff609b529518ee2b2a0127e7f6108bc05cf9a (patch)
tree985786dfbd96add43ea574e954f995303aea88dd /package/ath9k/patches/110-regd_includes.patch
parent12d206d9eb10efc2fd1b25816ff7314fa4b24089 (diff)
downloadupstream-d53ff609b529518ee2b2a0127e7f6108bc05cf9a.tar.gz
upstream-d53ff609b529518ee2b2a0127e7f6108bc05cf9a.tar.bz2
upstream-d53ff609b529518ee2b2a0127e7f6108bc05cf9a.zip
add the new ath9k driver (loads successfully on an AR9160 card, but still seems to have some rf issues)
SVN-Revision: 11884
Diffstat (limited to 'package/ath9k/patches/110-regd_includes.patch')
-rw-r--r--package/ath9k/patches/110-regd_includes.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/package/ath9k/patches/110-regd_includes.patch b/package/ath9k/patches/110-regd_includes.patch
new file mode 100644
index 0000000000..e928da85b9
--- /dev/null
+++ b/package/ath9k/patches/110-regd_includes.patch
@@ -0,0 +1,15 @@
+Add missing include statements
+
+Signed-off-by: Felix Fietkau <nbd@openwrt.org>
+
+--- a/drivers/net/wireless/ath9k/regd.c
++++ b/drivers/net/wireless/ath9k/regd.c
+@@ -14,6 +14,8 @@
+ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
++#include <linux/kernel.h>
++#include <linux/slab.h>
+ #include "ath9k.h"
+ #include "regd.h"
+ #include "regd_common.h"