summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorLuciano Coelho <coelho@ti.com>2011-12-21 19:52:31 (GMT)
committerLuciano Coelho <coelho@ti.com>2012-02-15 06:38:27 (GMT)
commit15944aef29b6a3d96c52f3140c08b5a9d5fda0e9 (patch)
tree33e1a2c48c846f2065b62513376b6a88324cdfb3 /drivers
parentebff1bae9445af019e7e3c5b62964ec99b5a8250 (diff)
downloadlinux-fsl-qoriq-15944aef29b6a3d96c52f3140c08b5a9d5fda0e9.tar.xz
wl12xx: 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/wl12xx/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/wl12xx/Makefile b/drivers/net/wireless/wl12xx/Makefile
index fe67262..98f289c 100644
--- a/drivers/net/wireless/wl12xx/Makefile
+++ b/drivers/net/wireless/wl12xx/Makefile
@@ -11,3 +11,5 @@ obj-$(CONFIG_WL12XX_SDIO) += wl12xx_sdio.o
# small builtin driver bit
obj-$(CONFIG_WL12XX_PLATFORM_DATA) += wl12xx_platform_data.o
+
+ccflags-y += -D__CHECK_ENDIAN__