From 02ffcad6bdc12df730a24fea4f4a7d29b5cd8845 Mon Sep 17 00:00:00 2001 From: "Luis R. Rodriguez" Date: Sat, 31 Mar 2012 21:34:15 -0700 Subject: [PATCH] compat-wireless: fix compilation of ath6kl on 2.6.27 Some drivers rely on some other part of the kernel to include in.h but on older kernels this proves to not work. Explicitly include that file. This fixes compilation of ath6kl on 2.6.27. This patch will be sent upstream though. Signed-off-by: Luis R. Rodriguez --- patches/51-in-header.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 patches/51-in-header.patch diff --git a/patches/51-in-header.patch b/patches/51-in-header.patch new file mode 100644 index 000000000000..6e3159abd088 --- /dev/null +++ b/patches/51-in-header.patch @@ -0,0 +1,15 @@ +Some drivers rely on some other part of the kernel to include +in.h but on older kernels this proves to not work. Explicitly +include that file. This fixes compilation of ath6kl on 2.6.27. +This patch will be sent upstream though. + +--- a/drivers/net/wireless/ath/ath6kl/wmi.c ++++ b/drivers/net/wireless/ath/ath6kl/wmi.c +@@ -16,6 +16,7 @@ + */ + + #include ++#include + #include "core.h" + #include "debug.h" + #include "testmode.h" -- 2.30.2