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: # v3.17
Reported-by: Fengguang Wu <>
Signed-off-by: Johannes Berg <>
Signed-off-by: Arend van Spriel <>
Signed-off-by: John W. Linville <>
1 file changed