linux/drivers/nfc/nxp-nci
Guenter Roeck 2eee74b7e2 NFC: nxp-nci: Include unaligned.h instead of access_ok.h
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>
2017-04-01 23:52:25 +02:00
..
core.c NFC: nxp-nci: constify nxp_nci_phy_ops structure 2015-10-19 20:04:13 +02:00
firmware.c NFC: nxp-nci: Include unaligned.h instead of access_ok.h 2017-04-01 23:52:25 +02:00
i2c.c NFC: nxp-nci: Include unaligned.h instead of access_ok.h 2017-04-01 23:52:25 +02:00
Kconfig
Makefile NFC: Remove obsolete setting of DEBUG 2015-06-09 00:34:09 +02:00
nxp-nci.h NFC: nxp-nci: constify nxp_nci_phy_ops structure 2015-10-19 20:04:13 +02:00