]> git.itanic.dy.fi Git - linux-stable/commit
brcmfmac: don't include linux/unaligned/access_ok.h
authorJohannes Berg <johannes.berg@intel.com>
Wed, 19 Nov 2014 21:13:10 +0000 (22:13 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 6 Dec 2014 23:57:28 +0000 (15:57 -0800)
commit66ce2a9f4e620d22d277707c9e041c8a820ca1ab
treec3a97053f80c111288501565d03433868af593b7
parent97729fa534ecbbcca0315cf71e8b5a57645d1d1a
brcmfmac: don't include linux/unaligned/access_ok.h

commit a1d69c60c44134f64945bbf6a6dfda22eaf4a214 upstream.

This is a specific implementation, <asm/unaligned.h> 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 <asm/unaligned.h> was added in <linux/ieee80211.h>
resulting in redefinition of get_unaligned_be16 (and
probably others).

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/brcm80211/brcmfmac/pcie.c