android_kernel_oneplus_msm8998/drivers/nfc
Guenter Roeck 2a41ed30ab NFC: nxp-nci: Include unaligned.h instead of access_ok.h
commit 2eee74b7e2a496dea49847c36fd09320505f45b7 upstream.

Directly including access_ok.h can result in the following compile errors
if an architecture such as ia64 does not support direct unaligned accesses.

include/linux/unaligned/access_ok.h:7:19: error:
	redefinition of 'get_unaligned_le16'
include/linux/unaligned/le_struct.h:6:19: note:
	previous definition of 'get_unaligned_le16' was here
include/linux/unaligned/access_ok.h:12:19: error:
	redefinition of 'get_unaligned_le32'
include/linux/unaligned/le_struct.h:11:19: note:
	previous definition of 'get_unaligned_le32' was here

Include asm/unaligned.h instead and let the architecture decide which
access functions to use.

Cc: Clément Perrochaud <clement.perrochaud@effinnov.com>
Cc: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Cc: Matthias Kaehlcke <mka@chromium.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-02-20 10:13:20 +01:00
..
fdp nfc: fdp: fix NULL pointer dereference 2017-08-06 19:19:40 -07:00
microread
nfcmrvl NFC: nfcmrvl_uart: fix OF child-node lookup 2018-12-01 09:46:35 +01:00
nxp-nci NFC: nxp-nci: Include unaligned.h instead of access_ok.h 2019-02-20 10:13:20 +01:00
pn544
s3fwrn5
st-nci
st21nfca
Kconfig
Makefile
mei_phy.c
mei_phy.h
nfcsim.c
nfcwilink.c
pn533.c
port100.c
trf7970a.c