summaryrefslogtreecommitdiffstats
path: root/net/wireless/Makefile
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2008-12-09 12:39:52 +0100
committerJohn W. Linville <linville@tuxdriver.com>2008-12-12 20:01:35 +0100
commitb143923689fdcc8e56688f2506a11ff16e4cd20b (patch)
tree2da5f54ac56f899b49e49103b76006e0940c061e /net/wireless/Makefile
parentmac80211: remove fragmentation offload functionality (diff)
downloadlinux-b143923689fdcc8e56688f2506a11ff16e4cd20b.tar.xz
linux-b143923689fdcc8e56688f2506a11ff16e4cd20b.zip
mac80211/cfg80211: check endianness in sparse runs
Make sure sparse checks endianness when run on mac80211/cfg80211. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Cc: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/wireless/Makefile')
-rw-r--r--net/wireless/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/wireless/Makefile b/net/wireless/Makefile
index 9bc412c83430..938a334c8dbc 100644
--- a/net/wireless/Makefile
+++ b/net/wireless/Makefile
@@ -8,3 +8,5 @@ obj-$(CONFIG_LIB80211_CRYPT_TKIP) += lib80211_crypt_tkip.o
cfg80211-y += core.o sysfs.o radiotap.o util.o reg.o
cfg80211-$(CONFIG_WIRELESS_EXT) += wext-compat.o
cfg80211-$(CONFIG_NL80211) += nl80211.o
+
+ccflags-y += -D__CHECK_ENDIAN__