Search Linux Wireless

[PATCH] mac80211: clean up asm/unaligned.h inclusion

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Johannes Berg <johannes.berg@xxxxxxxxx>

Some files implicitly get this via mesh.h
which itself doesn't need it, so move the
inclusion into the right files. Some other
files don't need it at all but include it,
so remove it from there.

Signed-off-by: Johannes Berg <johannes.berg@xxxxxxxxx>
---
 net/mac80211/ibss.c      |    1 -
 net/mac80211/key.c       |    1 +
 net/mac80211/mesh.h      |    1 -
 net/mac80211/mesh_hwmp.c |    1 +
 net/mac80211/rx.c        |    1 +
 net/mac80211/status.c    |    1 +
 6 files changed, 4 insertions(+), 2 deletions(-)

--- a/net/mac80211/ibss.c	2012-02-16 09:41:51.000000000 +0100
+++ b/net/mac80211/ibss.c	2012-02-20 11:35:19.000000000 +0100
@@ -20,7 +20,6 @@
 #include <linux/etherdevice.h>
 #include <linux/rtnetlink.h>
 #include <net/mac80211.h>
-#include <asm/unaligned.h>
 
 #include "ieee80211_i.h"
 #include "driver-ops.h"
--- a/net/mac80211/key.c	2012-02-16 09:41:51.000000000 +0100
+++ b/net/mac80211/key.c	2012-02-20 11:36:34.000000000 +0100
@@ -17,6 +17,7 @@
 #include <linux/slab.h>
 #include <linux/export.h>
 #include <net/mac80211.h>
+#include <asm/unaligned.h>
 #include "ieee80211_i.h"
 #include "driver-ops.h"
 #include "debugfs_key.h"
--- a/net/mac80211/mesh.h	2012-01-11 17:59:31.000000000 +0100
+++ b/net/mac80211/mesh.h	2012-02-20 11:35:37.000000000 +0100
@@ -13,7 +13,6 @@
 
 #include <linux/types.h>
 #include <linux/jhash.h>
-#include <asm/unaligned.h>
 #include "ieee80211_i.h"
 
 
--- a/net/mac80211/mesh_hwmp.c	2012-02-03 07:24:21.000000000 +0100
+++ b/net/mac80211/mesh_hwmp.c	2012-02-20 11:36:34.000000000 +0100
@@ -8,6 +8,7 @@
  */
 
 #include <linux/slab.h>
+#include <asm/unaligned.h>
 #include "wme.h"
 #include "mesh.h"
 
--- a/net/mac80211/rx.c	2012-02-16 09:41:51.000000000 +0100
+++ b/net/mac80211/rx.c	2012-02-20 11:36:09.000000000 +0100
@@ -19,6 +19,7 @@
 #include <linux/export.h>
 #include <net/mac80211.h>
 #include <net/ieee80211_radiotap.h>
+#include <asm/unaligned.h>
 
 #include "ieee80211_i.h"
 #include "driver-ops.h"
--- a/net/mac80211/status.c	2012-02-01 05:34:47.000000000 +0100
+++ b/net/mac80211/status.c	2012-02-20 11:35:51.000000000 +0100
@@ -11,6 +11,7 @@
 
 #include <linux/export.h>
 #include <net/mac80211.h>
+#include <asm/unaligned.h>
 #include "ieee80211_i.h"
 #include "rate.h"
 #include "mesh.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


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux