summaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorDavid Kilroy <kilroyd@googlemail.com>2010-04-19 08:16:23 +0100
committerJohn W. Linville <linville@tuxdriver.com>2010-04-19 16:41:42 -0400
commit088899c43ce8bc54c6de519e4b1a1fc41b95867e (patch)
treec5dd51499527570729abd190bc7f753debf550f3 /drivers/net
parent69c264de2ada18bd9da6c9f582a8babd3dcf5f18 (diff)
downloadop-kernel-dev-088899c43ce8bc54c6de519e4b1a1fc41b95867e.zip
op-kernel-dev-088899c43ce8bc54c6de519e4b1a1fc41b95867e.tar.gz
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')
-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 9abd632..e645269 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__
OpenPOWER on IntegriCloud