From: Johannes Berg <johannes.berg@xxxxxxxxx> linux/wireless.h and net/iw_handler.h headers are for wireless extensions only, so mac80211 drivers shouldn't be including them. Signed-off-by: Johannes Berg <johannes.berg@xxxxxxxxx> --- drivers/net/wireless/iwlwifi/iwl-1000.c | 1 - drivers/net/wireless/iwlwifi/iwl-2000.c | 1 - drivers/net/wireless/iwlwifi/iwl-5000.c | 1 - drivers/net/wireless/iwlwifi/iwl-6000.c | 1 - drivers/net/wireless/iwlwifi/iwl-agn-rs.c | 1 - drivers/net/wireless/iwlwifi/iwl-agn.c | 1 - drivers/net/wireless/iwlwifi/iwl-led.c | 1 - 7 files changed, 7 deletions(-) --- a/drivers/net/wireless/iwlwifi/iwl-agn.c 2011-07-13 10:01:13.000000000 +0200 +++ b/drivers/net/wireless/iwlwifi/iwl-agn.c 2011-07-13 10:04:15.000000000 +0200 @@ -38,7 +38,6 @@ #include <linux/sched.h> #include <linux/skbuff.h> #include <linux/netdevice.h> -#include <linux/wireless.h> #include <linux/firmware.h> #include <linux/etherdevice.h> #include <linux/if_arp.h> --- a/drivers/net/wireless/iwlwifi/iwl-1000.c 2011-07-13 10:02:54.000000000 +0200 +++ b/drivers/net/wireless/iwlwifi/iwl-1000.c 2011-07-13 10:02:58.000000000 +0200 @@ -30,7 +30,6 @@ #include <linux/delay.h> #include <linux/skbuff.h> #include <linux/netdevice.h> -#include <linux/wireless.h> #include <net/mac80211.h> #include <linux/etherdevice.h> #include <asm/unaligned.h> --- a/drivers/net/wireless/iwlwifi/iwl-2000.c 2011-07-13 10:02:54.000000000 +0200 +++ b/drivers/net/wireless/iwlwifi/iwl-2000.c 2011-07-13 10:02:59.000000000 +0200 @@ -30,7 +30,6 @@ #include <linux/delay.h> #include <linux/skbuff.h> #include <linux/netdevice.h> -#include <linux/wireless.h> #include <net/mac80211.h> #include <linux/etherdevice.h> #include <asm/unaligned.h> --- a/drivers/net/wireless/iwlwifi/iwl-5000.c 2011-07-13 10:02:54.000000000 +0200 +++ b/drivers/net/wireless/iwlwifi/iwl-5000.c 2011-07-13 10:03:00.000000000 +0200 @@ -31,7 +31,6 @@ #include <linux/sched.h> #include <linux/skbuff.h> #include <linux/netdevice.h> -#include <linux/wireless.h> #include <net/mac80211.h> #include <linux/etherdevice.h> #include <asm/unaligned.h> --- a/drivers/net/wireless/iwlwifi/iwl-6000.c 2011-07-13 10:02:54.000000000 +0200 +++ b/drivers/net/wireless/iwlwifi/iwl-6000.c 2011-07-13 10:03:02.000000000 +0200 @@ -30,7 +30,6 @@ #include <linux/delay.h> #include <linux/skbuff.h> #include <linux/netdevice.h> -#include <linux/wireless.h> #include <net/mac80211.h> #include <linux/etherdevice.h> #include <asm/unaligned.h> --- a/drivers/net/wireless/iwlwifi/iwl-agn-rs.c 2011-07-13 10:02:54.000000000 +0200 +++ b/drivers/net/wireless/iwlwifi/iwl-agn-rs.c 2011-07-13 10:03:03.000000000 +0200 @@ -27,7 +27,6 @@ #include <linux/init.h> #include <linux/skbuff.h> #include <linux/slab.h> -#include <linux/wireless.h> #include <net/mac80211.h> #include <linux/netdevice.h> --- a/drivers/net/wireless/iwlwifi/iwl-led.c 2011-07-13 10:02:54.000000000 +0200 +++ b/drivers/net/wireless/iwlwifi/iwl-led.c 2011-07-13 10:03:05.000000000 +0200 @@ -31,7 +31,6 @@ #include <linux/delay.h> #include <linux/skbuff.h> #include <linux/netdevice.h> -#include <linux/wireless.h> #include <net/mac80211.h> #include <linux/etherdevice.h> #include <asm/unaligned.h> -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html