From 5eb526110afd74b73c3dd8fba25c7a8794d2bbba Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Wed, 30 May 2012 00:39:39 +0200 Subject: [PATCH] compat-wireless: add asm/unaligned.h include to ath6kl 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 Signed-off-by: Luis R. Rodriguez --- patches/06-header-changes.patch | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/patches/06-header-changes.patch b/patches/06-header-changes.patch index db844684c6a7..d77e5fb22750 100644 --- a/patches/06-header-changes.patch +++ b/patches/06-header-changes.patch @@ -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 + #include + #include ++#include + + #include "core.h" + #include "cfg80211.h" -- 2.30.2