package the bcm63xx-spi driver
[openwrt/openwrt.git] / package / mac80211 / patches / 409-ath9k-fix-compile-error-in-debug.c.patch
1 From 15af1877e9fbb75c4a7506ab86e743c49a195e97 Mon Sep 17 00:00:00 2001
2 From: Gabor Juhos <juhosg@openwrt.org>
3 Date: Fri, 6 Mar 2009 09:46:27 +0100
4 Subject: [PATCH 2/2] ath9k: fix compile error in debug.c
5
6 drivers/net/wireless/ath9k/debug.c: In function 'read_file_wiphy':
7 drivers/net/wireless/ath9k/debug.c:377: error: implicit declaration of
8 function 'put_unaligned_le32'
9 drivers/net/wireless/ath9k/debug.c:378: error: implicit declaration of
10 function 'put_unaligned_le16'
11
12 Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
13 ---
14 drivers/net/wireless/ath9k/debug.c | 2 ++
15 1 files changed, 2 insertions(+), 0 deletions(-)
16
17 --- a/drivers/net/wireless/ath9k/debug.c
18 +++ b/drivers/net/wireless/ath9k/debug.c
19 @@ -14,6 +14,8 @@
20 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
21 */
22
23 +#include <asm/unaligned.h>
24 +
25 #include "ath9k.h"
26
27 static unsigned int ath9k_debug = DBG_DEFAULT;