Skip to contentSkip to conversation

mwifiex: use generic header for if_arp.h

PATCH In review Luis R. Rodriguez 2 participants 2 messages Apr 18, 2014 Networking drivers (wireless)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mwifiex: use generic header for if_arp.h

From: "Luis R. Rodriguez" <[email protected]>

Older kernels require both, but if we instead include the general header we get both in-kernel and UAPI stuff. This simplifies the backport.

---
 drivers/net/wireless/mwifiex/decl.h   | 2 +-
 drivers/net/wireless/mwifiex/sta_rx.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/net/wireless/mwifiex/decl.h +1 -1
index e7b3e16..51e0f6d 100644
@@ -26,7 +26,7 @@
 #include <linux/wait.h>
 #include <linux/timer.h>
 #include <linux/ieee80211.h>
-#include <uapi/linux/if_arp.h>
+#include <linux/if_arp.h>
 #include <net/mac80211.h>
 
 
drivers/net/wireless/mwifiex/sta_rx.c +1 -1
index ed26387..ea20fef 100644
@@ -17,7 +17,7 @@
  * this warranty disclaimer.
  */
 
-#include <uapi/linux/ipv6.h>
+#include <linux/ipv6.h>
 #include <net/ndisc.h>
 #include "decl.h"
 #include "ioctl.h"
Signature · 1 line
1.9.1
Acked-by on v1 1/1
#1 lore raw

Hi Luis,

Quoted 9 lines

From: "Luis R. Rodriguez" <[email protected]>

Older kernels require both, but if we instead include the general header we get both in-kernel and UAPI stuff. This simplifies the backport.

Thanks,
Bing

Quoted 35 lines
---
 drivers/net/wireless/mwifiex/decl.h   | 2 +-
 drivers/net/wireless/mwifiex/sta_rx.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/net/wireless/mwifiex/decl.h +1 -1
index e7b3e16..51e0f6d 100644
@@ -26,7 +26,7 @@
 #include <linux/wait.h>
 #include <linux/timer.h>
 #include <linux/ieee80211.h>
-#include <uapi/linux/if_arp.h>
+#include <linux/if_arp.h>
 #include <net/mac80211.h>
 
 
drivers/net/wireless/mwifiex/sta_rx.c +1 -2
index ed26387..ea20fef 100644
@@ -17,7 +17,7 @@
  * this warranty disclaimer.
  */
 
-#include <uapi/linux/ipv6.h>
+#include <linux/ipv6.h>
 #include <net/ndisc.h>
 #include "decl.h"
 #include "ioctl.h"
--

1.9.1