From: Luis R. Rodriguez <mcgrof@qca.qualcomm.com>
Date: Tue, 20 Dec 2011 19:18:48 +0000 (-0800)
Subject: atheros: force endian checks on atheros wireless drivers
X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=cf9bc5bae7fee420cebcfdbd7f59bb72b5f8ed1b;p=linux.git

atheros: force endian checks on atheros wireless drivers

Please NACK nasty patches.

Cc: Kalle Valo <kvalo@qca.qualcomm.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
---

diff --git a/drivers/net/wireless/ath/Makefile b/drivers/net/wireless/ath/Makefile
index d1214696a35b8..d716b748e5744 100644
--- a/drivers/net/wireless/ath/Makefile
+++ b/drivers/net/wireless/ath/Makefile
@@ -11,3 +11,4 @@ ath-objs :=	main.o \
 		key.o
 
 ath-$(CONFIG_ATH_DEBUG) += debug.o
+ccflags-y += -D__CHECK_ENDIAN__