From: Luciano Coelho Date: Wed, 21 Dec 2011 20:36:29 +0000 (+0200) Subject: wl1251: enable sparse endianess check by default X-Git-Tag: v3.4-rc1~177^2~108^2~351^2~47 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ebff1bae9445af019e7e3c5b62964ec99b5a8250;p=profile%2Fivi%2Fkernel-x86-ivi.git wl1251: 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 --- diff --git a/drivers/net/wireless/wl1251/Makefile b/drivers/net/wireless/wl1251/Makefile index 58b4f93..a5c6328 100644 --- a/drivers/net/wireless/wl1251/Makefile +++ b/drivers/net/wireless/wl1251/Makefile @@ -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__