compat-wireless: add asm/unaligned.h include to ath6kl
authorHauke Mehrtens <hauke@hauke-m.de>
Tue, 29 May 2012 22:39:39 +0000 (00:39 +0200)
committerLuis R. Rodriguez <mcgrof@frijolero.org>
Tue, 29 May 2012 23:58:31 +0000 (16:58 -0700)
Some old kernel versions are missing this include and we get a compile
error because of missing get_unaligned_le16() prototype.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
patches/06-header-changes.patch

index db844684c6a7845e8e57b58eb1877cbd7bbe1c4a..d77e5fb22750a6a4af784b6a67867c4f92cce968 100644 (file)
@@ -105,3 +105,13 @@ cases.
  
  #include "hidp.h"
  
+--- a/drivers/net/wireless/ath/ath6kl/cfg80211.c
++++ b/drivers/net/wireless/ath/ath6kl/cfg80211.c
+@@ -20,6 +20,7 @@
+ #include <linux/moduleparam.h>
+ #include <linux/inetdevice.h>
+ #include <linux/export.h>
++#include <asm/unaligned.h>
+ #include "core.h"
+ #include "cfg80211.h"