summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorLuciano Coelho <coelho@ti.com>2011-12-21 20:36:29 (GMT)
committerLuciano Coelho <coelho@ti.com>2012-02-15 06:38:27 (GMT)
commitebff1bae9445af019e7e3c5b62964ec99b5a8250 (patch)
treef14463bda021f3c84949344683df433f4281f609 /drivers
parentac9e2d9afa90ecb7ee1b419cce6969f31a138f77 (diff)
downloadlinux-fsl-qoriq-ebff1bae9445af019e7e3c5b62964ec99b5a8250.tar.xz
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')
-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 58b4f93..a5c6328 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__