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
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'
12 Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
14 drivers/net/wireless/ath9k/debug.c | 2 ++
15 1 files changed, 2 insertions(+), 0 deletions(-)
17 --- a/drivers/net/wireless/ath9k/debug.c
18 +++ b/drivers/net/wireless/ath9k/debug.c
20 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
23 +#include <asm/unaligned.h>
27 static unsigned int ath9k_debug = DBG_DEFAULT;