From: Johannes Berg <johannes@sipsolutions.net>
To: John Linville <linville@tuxdriver.com>
Cc: linux-wireless@vger.kernel.org
Subject: [PATCH 02/11] iwlagn: remove wireless extensions inclusions
Date: Wed, 13 Jul 2011 10:39:10 +0200 [thread overview]
Message-ID: <20110713084031.752929662@sipsolutions.net> (raw)
In-Reply-To: 20110713083908.713123063@sipsolutions.net
From: Johannes Berg <johannes.berg@intel.com>
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@intel.com>
---
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>
next prev parent reply other threads:[~2011-07-13 8:41 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-13 8:39 [PATCH 00/11] wext reductio Johannes Berg
2011-07-13 8:39 ` [PATCH 01/11] cfg80211: split wext compatibility to separate header Johannes Berg
2011-07-13 8:39 ` Johannes Berg [this message]
2011-07-13 8:39 ` [PATCH 03/11] iwlegacy: remove wireless extensions inclusions Johannes Berg
2011-07-13 8:39 ` [PATCH 04/11] ath5k: " Johannes Berg
2011-07-13 14:16 ` Pavel Roskin
2011-07-13 8:39 ` [PATCH 05/11] b43: " Johannes Berg
2011-07-13 8:39 ` [PATCH 06/11] b43legacy: " Johannes Berg
2011-07-13 14:02 ` Larry Finger
2011-07-13 8:39 ` [PATCH 07/11] rndis_wlan: " Johannes Berg
2011-07-13 8:39 ` [PATCH 08/11] wl12xx: remove wext dependencies Johannes Berg
2011-07-13 9:04 ` Luciano Coelho
2011-07-13 8:39 ` [PATCH 09/11] wl1251: " Johannes Berg
2011-07-13 8:39 ` [PATCH 10/11] mwifiex: add wext include Johannes Berg
2011-07-13 19:56 ` Bing Zhao
2011-07-13 8:39 ` [PATCH 11/11] mac80211: remove linux/wireless.h inclusion Johannes Berg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110713084031.752929662@sipsolutions.net \
--to=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).