]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
zd1211rw: include mac80211.h from zd_chip.h
authorKalle Valo <kvalo@adurom.com>
Mon, 13 Jun 2011 22:34:57 +0000 (01:34 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 20 Jun 2011 19:16:32 +0000 (15:16 -0400)
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>
drivers/net/wireless/zd1211rw/zd_chip.h

index 4be7c3b5b26552031d7d1ddf143bd8d6f140a63d..117c4123943c76d82ca47958031b4603f23b776a 100644 (file)
@@ -21,6 +21,8 @@
 #ifndef _ZD_CHIP_H
 #define _ZD_CHIP_H
 
+#include <net/mac80211.h>
+
 #include "zd_rf.h"
 #include "zd_usb.h"