diff options
author | Samuel Ortiz <sameo@linux.intel.com> | 2010-04-15 21:28:44 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-04-16 15:47:02 -0400 |
commit | e88402fbdd9c5dbbae7b16c575d4e0b9e9b6fd40 (patch) | |
tree | f08312833865fcefe1525d8ae0a3df6574a7cd69 /drivers/net/wireless/iwmc3200wifi | |
parent | 3c997e8849c5b982662f2a9b3e8cb64260382faa (diff) |
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')
-rw-r--r-- | drivers/net/wireless/iwmc3200wifi/Makefile | 2 |
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 | |||
6 | iwmc3200wifi-$(CONFIG_IWM_TRACING) += trace.o | 6 | iwmc3200wifi-$(CONFIG_IWM_TRACING) += trace.o |
7 | 7 | ||
8 | CFLAGS_trace.o := -I$(src) | 8 | CFLAGS_trace.o := -I$(src) |
9 | |||
10 | ccflags-y += -D__CHECK_ENDIAN__ | ||