From: Luis R. Rodriguez Date: Sun, 1 Apr 2012 04:34:15 +0000 (-0700) Subject: compat-wireless: fix compilation of ath6kl on 2.6.27 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=02ffcad6bdc12df730a24fea4f4a7d29b5cd8845;p=openwrt%2Fstaging%2Fblogic.git 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 --- 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"