wl12xx: enable sparse endianess check by default
authorLuciano Coelho <coelho@ti.com>
Wed, 21 Dec 2011 19:52:31 +0000 (21:52 +0200)
committerLuciano Coelho <coelho@ti.com>
Wed, 15 Feb 2012 06:38:27 +0000 (08:38 +0200)
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>
drivers/net/wireless/wl12xx/Makefile

index fe67262..98f289c 100644 (file)
@@ -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__