mwifiex: use generic header for if_arp.h
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.
Cc Bing Zhao <[email protected]>
Cc "John W. Linville" <[email protected]>
Signed-off-by Luis R. Rodriguez <[email protected]>
--- 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
@@ -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
@@ -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
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.
Cc Bing Zhao <[email protected]>Cc "John W. Linville" <[email protected]>Signed-off-by Luis R. Rodriguez <[email protected]>
Acked-by Bing Zhao <[email protected]>
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@@ -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@@ -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