summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2010-04-16 09:28:44 +0800
committerJohn W. Linville <linville@tuxdriver.com>2010-04-16 15:47:02 -0400
commite88402fbdd9c5dbbae7b16c575d4e0b9e9b6fd40 (patch)
treef08312833865fcefe1525d8ae0a3df6574a7cd69
parent3c997e8849c5b982662f2a9b3e8cb64260382faa (diff)
downloadblackbird-op-linux-e88402fbdd9c5dbbae7b16c575d4e0b9e9b6fd40.tar.gz
blackbird-op-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>
-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__
OpenPOWER on IntegriCloud