From: Hauke Mehrtens Date: Sun, 22 Apr 2012 22:03:19 +0000 (+0200) Subject: compat-wireless: add an extra include to ath6kl/htc_pipe.c X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=8f0827b81cdbb68e4b3e03d7366f2bc16832f550;p=openwrt%2Fstaging%2Fblogic.git compat-wireless: add an extra include to ath6kl/htc_pipe.c Signed-off-by: Hauke Mehrtens Signed-off-by: Luis R. Rodriguez --- diff --git a/patches/06-header-changes.patch b/patches/06-header-changes.patch index c6a1d63b20d4..92ed02d36cf0 100644 --- a/patches/06-header-changes.patch +++ b/patches/06-header-changes.patch @@ -4,6 +4,19 @@ made. Some code gets shifted around between headers or new headers are defined. This patch deals with such cases. +--- a/drivers/net/wireless/ath/ath6kl/htc_pipe.c ++++ b/drivers/net/wireless/ath/ath6kl/htc_pipe.c +@@ -18,6 +18,10 @@ + #include "debug.h" + #include "hif-ops.h" + ++#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,29)) ++#include ++#endif ++ + #define HTC_PACKET_CONTAINER_ALLOCATION 32 + #define HTC_CONTROL_BUFFER_SIZE (HTC_MAX_CTRL_MSG_LEN + HTC_HDR_LENGTH) + --- a/drivers/net/wireless/b43/phy_common.h +++ b/drivers/net/wireless/b43/phy_common.h @@ -3,6 +3,9 @@