wl1251: enable sparse endianess check by default
authorLuciano Coelho <coelho@ti.com>
Wed, 21 Dec 2011 20:36:29 +0000 (22:36 +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/wl1251/Makefile

index 58b4f935a3f634f89157e32389e90cbf29898310..a5c6328b5f725bd3e92e8292df48328f219b08f2 100644 (file)
@@ -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__