compat-wireless: add an extra include to ath6kl/htc_pipe.c
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 22 Apr 2012 22:03:19 +0000 (00:03 +0200)
committerLuis R. Rodriguez <mcgrof@frijolero.org>
Mon, 23 Apr 2012 23:26:39 +0000 (16:26 -0700)
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
patches/06-header-changes.patch

index c6a1d63b20d4df4bb17db691719bca0324789ad7..92ed02d36cf0234158fd3ae8256b13f763d1410c 100644 (file)
@@ -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 <asm/unaligned.h>
++#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 @@