summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwmc3200wifi/Makefile
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2010-04-16 03:28:44 +0200
committerJohn W. Linville <linville@tuxdriver.com>2010-04-16 21:47:02 +0200
commite88402fbdd9c5dbbae7b16c575d4e0b9e9b6fd40 (patch)
treef08312833865fcefe1525d8ae0a3df6574a7cd69 /drivers/net/wireless/iwmc3200wifi/Makefile
parentiwmc3200wifi: Fix sparse warnings (diff)
downloadlinux-e88402fbdd9c5dbbae7b16c575d4e0b9e9b6fd40.tar.xz
linux-e88402fbdd9c5dbbae7b16c575d4e0b9e9b6fd40.zip
iwmc3200wifi: check sparse endianness annotations
Add -D__CHECK_ENDIAN__ to driver ccflags so that sparse will always check endianness by default. Signed-off-by: Samuel Ortiz <sameo@linux.intel.com> Signed-off-by: Zhu Yi <yi.zhu@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwmc3200wifi/Makefile')
-rw-r--r--drivers/net/wireless/iwmc3200wifi/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwmc3200wifi/Makefile b/drivers/net/wireless/iwmc3200wifi/Makefile
index aeed5cd80819..cdc7e07ba113 100644
--- a/drivers/net/wireless/iwmc3200wifi/Makefile
+++ b/drivers/net/wireless/iwmc3200wifi/Makefile
@@ -6,3 +6,5 @@ iwmc3200wifi-$(CONFIG_IWM_DEBUG) += debugfs.o
iwmc3200wifi-$(CONFIG_IWM_TRACING) += trace.o
CFLAGS_trace.o := -I$(src)
+
+ccflags-y += -D__CHECK_ENDIAN__