summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless
diff options
context:
space:
mode:
authorKalle Valo <kvalo@adurom.com>2011-06-14 00:34:57 +0200
committerJohn W. Linville <linville@tuxdriver.com>2011-06-20 21:16:32 +0200
commit9a0669681c2d94fa198a82d108918def55a7cd70 (patch)
tree9018b617c51df889921b51f4c4ba2316cc9a64f0 /drivers/net/wireless
parentiwlwifi: fix stop/wake queue hacks (diff)
downloadlinux-9a0669681c2d94fa198a82d108918def55a7cd70.tar.xz
linux-9a0669681c2d94fa198a82d108918def55a7cd70.zip
zd1211rw: include mac80211.h from zd_chip.h
zd_chip.h contains one function with a pointer to ieee80211_hw but doesn't include mac80211.h. As a temporary solution include mac80211.h to avoid a warning. Signed-off-by: Kalle Valo <kvalo@adurom.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r--drivers/net/wireless/zd1211rw/zd_chip.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/zd1211rw/zd_chip.h b/drivers/net/wireless/zd1211rw/zd_chip.h
index 4be7c3b5b265..117c4123943c 100644
--- a/drivers/net/wireless/zd1211rw/zd_chip.h
+++ b/drivers/net/wireless/zd1211rw/zd_chip.h
@@ -21,6 +21,8 @@
#ifndef _ZD_CHIP_H
#define _ZD_CHIP_H
+#include <net/mac80211.h>
+
#include "zd_rf.h"
#include "zd_usb.h"