diff options
author | Samuel Ortiz <sameo@linux.intel.com> | 2010-04-16 03:28:44 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-04-16 21:47:02 +0200 |
commit | e88402fbdd9c5dbbae7b16c575d4e0b9e9b6fd40 (patch) | |
tree | f08312833865fcefe1525d8ae0a3df6574a7cd69 /drivers/net/wireless/iwmc3200wifi | |
parent | iwmc3200wifi: Fix sparse warnings (diff) | |
download | linux-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')
-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 iwmc3200wifi-$(CONFIG_IWM_TRACING) += trace.o CFLAGS_trace.o := -I$(src) + +ccflags-y += -D__CHECK_ENDIAN__ |