summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/Makefile
diff options
context:
space:
mode:
authorLuciano Coelho <coelho@ti.com>2011-12-21 21:52:31 +0200
committerLuciano Coelho <coelho@ti.com>2012-02-15 08:38:27 +0200
commit15944aef29b6a3d96c52f3140c08b5a9d5fda0e9 (patch)
tree33e1a2c48c846f2065b62513376b6a88324cdfb3 /drivers/net/wireless/wl12xx/Makefile
parentebff1bae9445af019e7e3c5b62964ec99b5a8250 (diff)
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/net/wireless/wl12xx/Makefile')
-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 fe67262ba19..98f289c907a 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__