summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKalle Valo <kvalo@adurom.com>2011-06-14 01:34:57 +0300
committerJohn W. Linville <linville@tuxdriver.com>2011-06-20 15:16:32 -0400
commit9a0669681c2d94fa198a82d108918def55a7cd70 (patch)
tree9018b617c51df889921b51f4c4ba2316cc9a64f0
parent47751b0fbff55f5f65d1a4d24ca10acd90259fc1 (diff)
downloadop-kernel-dev-9a0669681c2d94fa198a82d108918def55a7cd70.zip
op-kernel-dev-9a0669681c2d94fa198a82d108918def55a7cd70.tar.gz
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>
-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 4be7c3b..117c412 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"
OpenPOWER on IntegriCloud