aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/wireless/wl1251
diff options
context:
space:
mode:
authorLuciano Coelho <coelho@ti.com>2011-12-21 22:36:29 +0200
committerLuciano Coelho <coelho@ti.com>2012-02-15 08:38:27 +0200
commitebff1bae9445af019e7e3c5b62964ec99b5a8250 (patch)
treef14463bda021f3c84949344683df433f4281f609 /drivers/net/wireless/wl1251
parentac9e2d9afa90ecb7ee1b419cce6969f31a138f77 (diff)
downloadlinux-stericsson-ebff1bae9445af019e7e3c5b62964ec99b5a8250.tar.gz
wl1251: enable sparse endianess check by default
Following the good example of the Intel (and more recently Atheros) drivers, enable endianess check by default when running sparse. Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/wl1251')
-rw-r--r--drivers/net/wireless/wl1251/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/wl1251/Makefile b/drivers/net/wireless/wl1251/Makefile
index 58b4f935a3f6..a5c6328b5f72 100644
--- a/drivers/net/wireless/wl1251/Makefile
+++ b/drivers/net/wireless/wl1251/Makefile
@@ -6,3 +6,5 @@ wl1251_sdio-objs += sdio.o
obj-$(CONFIG_WL1251) += wl1251.o
obj-$(CONFIG_WL1251_SPI) += wl1251_spi.o
obj-$(CONFIG_WL1251_SDIO) += wl1251_sdio.o
+
+ccflags-y += -D__CHECK_ENDIAN__