summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuciano Coelho <coelho@ti.com>2011-12-21 20:52:31 +0100
committerLuciano Coelho <coelho@ti.com>2012-02-15 07:38:27 +0100
commit15944aef29b6a3d96c52f3140c08b5a9d5fda0e9 (patch)
tree33e1a2c48c846f2065b62513376b6a88324cdfb3
parentwl1251: enable sparse endianess check by default (diff)
downloadlinux-15944aef29b6a3d96c52f3140c08b5a9d5fda0e9.tar.xz
linux-15944aef29b6a3d96c52f3140c08b5a9d5fda0e9.zip
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>
-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 fe67262ba19f..98f289c907a9 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__