orinoco: have sparse check endian issues
authorDavid Kilroy <kilroyd@googlemail.com>
Mon, 19 Apr 2010 07:16:23 +0000 (08:16 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 19 Apr 2010 20:41:42 +0000 (16:41 -0400)
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>
drivers/net/wireless/orinoco/Makefile

index 9abd6329bcbd3548640e50c2653b3e79f2568d5b..e6452698eba9bc6bd150bedb19880e63ecf66176 100644 (file)
@@ -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__