diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2009-04-20 08:31:42 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-04-22 16:57:17 -0400 |
commit | d323655372590c533c275b1d798f9d1221efb5c6 (patch) | |
tree | 7eb0e7ecb88b09cead5a36b5aa93328b199e5c25 /drivers/net/wireless/ath | |
parent | af8cdcd828ad751fae8e6cbfe94eef9f2f23b14b (diff) |
cfg80211: clean up includes
Trying to separate header files into net/wireless.h and
net/cfg80211.h has been a source of confusion. Remove
net/wireless.h (because there also is the linux/wireless.h)
and subsume everything into net/cfg80211.h -- except the
definitions for regulatory structures which get moved to
a new header net/regulatory.h.
The "new" net/cfg80211.h is now divided into sections.
There are no real changes in this patch but code shuffling
and some very minor documentation fixes.
I have also, to make things reflect reality, put in a
copyright line for Luis to net/regulatory.h since that
is probably exclusively written by him but was formerly
in a file that only had my copyright line.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Cc: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath')
-rw-r--r-- | drivers/net/wireless/ath/ar9170/ar9170.h | 2 | ||||
-rw-r--r-- | drivers/net/wireless/ath/ar9170/usb.h | 2 | ||||
-rw-r--r-- | drivers/net/wireless/ath/ath9k/eeprom.h | 2 | ||||
-rw-r--r-- | drivers/net/wireless/ath/regd.c | 1 | ||||
-rw-r--r-- | drivers/net/wireless/ath/regd.h | 1 |
5 files changed, 3 insertions, 5 deletions
diff --git a/drivers/net/wireless/ath/ar9170/ar9170.h b/drivers/net/wireless/ath/ar9170/ar9170.h index f797495faa56..2522a190fdfb 100644 --- a/drivers/net/wireless/ath/ar9170/ar9170.h +++ b/drivers/net/wireless/ath/ar9170/ar9170.h | |||
@@ -40,7 +40,7 @@ | |||
40 | 40 | ||
41 | #include <linux/completion.h> | 41 | #include <linux/completion.h> |
42 | #include <linux/spinlock.h> | 42 | #include <linux/spinlock.h> |
43 | #include <net/wireless.h> | 43 | #include <net/cfg80211.h> |
44 | #include <net/mac80211.h> | 44 | #include <net/mac80211.h> |
45 | #ifdef CONFIG_AR9170_LEDS | 45 | #ifdef CONFIG_AR9170_LEDS |
46 | #include <linux/leds.h> | 46 | #include <linux/leds.h> |
diff --git a/drivers/net/wireless/ath/ar9170/usb.h b/drivers/net/wireless/ath/ar9170/usb.h index f5852924cd64..ac42586495d8 100644 --- a/drivers/net/wireless/ath/ar9170/usb.h +++ b/drivers/net/wireless/ath/ar9170/usb.h | |||
@@ -43,7 +43,7 @@ | |||
43 | #include <linux/completion.h> | 43 | #include <linux/completion.h> |
44 | #include <linux/spinlock.h> | 44 | #include <linux/spinlock.h> |
45 | #include <linux/leds.h> | 45 | #include <linux/leds.h> |
46 | #include <net/wireless.h> | 46 | #include <net/cfg80211.h> |
47 | #include <net/mac80211.h> | 47 | #include <net/mac80211.h> |
48 | #include <linux/firmware.h> | 48 | #include <linux/firmware.h> |
49 | #include "eeprom.h" | 49 | #include "eeprom.h" |
diff --git a/drivers/net/wireless/ath/ath9k/eeprom.h b/drivers/net/wireless/ath/ath9k/eeprom.h index 9a7715df5cff..7c59dc47f912 100644 --- a/drivers/net/wireless/ath/ath9k/eeprom.h +++ b/drivers/net/wireless/ath/ath9k/eeprom.h | |||
@@ -17,7 +17,7 @@ | |||
17 | #ifndef EEPROM_H | 17 | #ifndef EEPROM_H |
18 | #define EEPROM_H | 18 | #define EEPROM_H |
19 | 19 | ||
20 | #include <net/wireless.h> | 20 | #include <net/cfg80211.h> |
21 | 21 | ||
22 | #define AH_USE_EEPROM 0x1 | 22 | #define AH_USE_EEPROM 0x1 |
23 | 23 | ||
diff --git a/drivers/net/wireless/ath/regd.c b/drivers/net/wireless/ath/regd.c index 526c7f1308db..fdf07c822081 100644 --- a/drivers/net/wireless/ath/regd.c +++ b/drivers/net/wireless/ath/regd.c | |||
@@ -18,7 +18,6 @@ | |||
18 | #include <linux/slab.h> | 18 | #include <linux/slab.h> |
19 | #include <net/cfg80211.h> | 19 | #include <net/cfg80211.h> |
20 | #include <net/mac80211.h> | 20 | #include <net/mac80211.h> |
21 | #include <net/wireless.h> | ||
22 | #include "regd.h" | 21 | #include "regd.h" |
23 | #include "regd_common.h" | 22 | #include "regd_common.h" |
24 | 23 | ||
diff --git a/drivers/net/wireless/ath/regd.h b/drivers/net/wireless/ath/regd.h index eba7c7123b50..07291ccb23f2 100644 --- a/drivers/net/wireless/ath/regd.h +++ b/drivers/net/wireless/ath/regd.h | |||
@@ -20,7 +20,6 @@ | |||
20 | #include <linux/nl80211.h> | 20 | #include <linux/nl80211.h> |
21 | 21 | ||
22 | #include <net/cfg80211.h> | 22 | #include <net/cfg80211.h> |
23 | #include <net/wireless.h> | ||
24 | 23 | ||
25 | #define NO_CTL 0xff | 24 | #define NO_CTL 0xff |
26 | #define SD_NO_CTL 0xE0 | 25 | #define SD_NO_CTL 0xE0 |