From: Johannes Berg Date: Wed, 19 Nov 2014 21:13:10 +0000 (+0100) Subject: brcmfmac: don't include linux/unaligned/access_ok.h X-Git-Tag: v3.17.5~50 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66ce2a9f4e620d22d277707c9e041c8a820ca1ab;p=thirdparty%2Fkernel%2Fstable.git brcmfmac: don't include linux/unaligned/access_ok.h commit a1d69c60c44134f64945bbf6a6dfda22eaf4a214 upstream. This is a specific implementation, is the multiplexer that has the arch-specific knowledge of which of the implementations needs to be used, so include that. This issue was revealed by kbuild testing when was added in resulting in redefinition of get_unaligned_be16 (and probably others). Reported-by: Fengguang Wu Signed-off-by: Johannes Berg Signed-off-by: Arend van Spriel Signed-off-by: John W. Linville Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/net/wireless/brcm80211/brcmfmac/pcie.c b/drivers/net/wireless/brcm80211/brcmfmac/pcie.c index e5101b287e4ee..fb30a09b3b0d3 100644 --- a/drivers/net/wireless/brcm80211/brcmfmac/pcie.c +++ b/drivers/net/wireless/brcm80211/brcmfmac/pcie.c @@ -19,10 +19,10 @@ #include #include #include -#include #include #include #include +#include #include #include