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)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 20 Nov 2014 19:46:45 +0000 (14:46 -0500)
commita1d69c60c44134f64945bbf6a6dfda22eaf4a214
tree2678d3082dd3a5822644ca4f24b506d7acc6f343
parent6158fb37d1b0448252864b194d585e73e4b94406
brcmfmac: don't include linux/unaligned/access_ok.h

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).

Cc: stable@vger.kernel.org # v3.17
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>
drivers/net/wireless/brcm80211/brcmfmac/pcie.c