summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless
diff options
context:
space:
mode:
authorDavid Kilroy2010-04-19 09:16:23 +0200
committerJohn W. Linville2010-04-19 22:41:42 +0200
commit088899c43ce8bc54c6de519e4b1a1fc41b95867e (patch)
treec5dd51499527570729abd190bc7f753debf550f3 /drivers/net/wireless
parentorinoco: use cfg80211_find_ie (diff)
downloadkernel-qcow2-linux-088899c43ce8bc54c6de519e4b1a1fc41b95867e.tar.gz
kernel-qcow2-linux-088899c43ce8bc54c6de519e4b1a1fc41b95867e.tar.xz
kernel-qcow2-linux-088899c43ce8bc54c6de519e4b1a1fc41b95867e.zip
orinoco: have sparse check endian issues
Orinoco should be endian clean, so enable the checking. Signed-off-by: David Kilroy <kilroyd@googlemail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r--drivers/net/wireless/orinoco/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/orinoco/Makefile b/drivers/net/wireless/orinoco/Makefile
index 9abd6329bcbd..e6452698eba9 100644
--- a/drivers/net/wireless/orinoco/Makefile
+++ b/drivers/net/wireless/orinoco/Makefile
@@ -11,3 +11,6 @@ obj-$(CONFIG_PCI_HERMES) += orinoco_pci.o
obj-$(CONFIG_TMD_HERMES) += orinoco_tmd.o
obj-$(CONFIG_NORTEL_HERMES) += orinoco_nortel.o
obj-$(CONFIG_PCMCIA_SPECTRUM) += spectrum_cs.o
+
+# Orinoco should be endian clean.
+ccflags-y += -D__CHECK_ENDIAN__