linux_dsm_epyc7002/drivers/nfc/nfcmrvl
Tobias Klauser d916d92372 NFC: nfcmrvl: Include unaligned.h instead of access_ok.h
Including linux/unaligned/access_ok.h causes the allmodconfig build on
ia64 (and maybe others) to fail with the following warnings:

include/linux/unaligned/access_ok.h:7:19: error: redefinition of 'get_unaligned_le16'
include/linux/unaligned/access_ok.h:12:19: error: redefinition of 'get_unaligned_le32'
include/linux/unaligned/access_ok.h:17:19: error: redefinition of 'get_unaligned_le64'
include/linux/unaligned/access_ok.h:22:19: error: redefinition of 'get_unaligned_be16'
include/linux/unaligned/access_ok.h:27:19: error: redefinition of 'get_unaligned_be32'
include/linux/unaligned/access_ok.h:32:19: error: redefinition of 'get_unaligned_be64'
include/linux/unaligned/access_ok.h:37:20: error: redefinition of 'put_unaligned_le16'
include/linux/unaligned/access_ok.h:42:20: error: redefinition of 'put_unaligned_le32'
include/linux/unaligned/access_ok.h:42:20: error: redefinition of 'put_unaligned_le64'
include/linux/unaligned/access_ok.h:42:20: error: redefinition of 'put_unaligned_be16'
include/linux/unaligned/access_ok.h:42:20: error: redefinition of 'put_unaligned_be32'
include/linux/unaligned/access_ok.h:42:20: error: redefinition of 'put_unaligned_be64'

Fix these by including asm/unaligned.h instead and leave it up to the
architecture to decide how to implement unaligned accesses.

Fixes: 3194c68701 ("NFC: nfcmrvl: add firmware download support")
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Link: https://lkml.org/lkml/2016/10/22/247
Cc: Vincent Cuissard <cuissard@marvell.com>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2017-04-01 23:45:31 +02:00
..
fw_dnld.c NFC: nfcmrvl: Include unaligned.h instead of access_ok.h 2017-04-01 23:45:31 +02:00
fw_dnld.h NFC: nfcmrvl: add firmware download support 2015-10-27 04:18:44 +01:00
i2c.c NFC: nfcmrvl: update device tree bindings for Marvell NFC 2015-10-27 04:24:54 +01:00
Kconfig NFC: nfcmrvl: fix SPI driver dependencies 2015-11-05 00:32:25 +01:00
main.c NFC: nfcmrvl: remove unneeded CONFIG_OF switches 2015-11-05 00:32:25 +01:00
Makefile NFC: nfcmrvl: add spi driver 2015-10-27 04:24:35 +01:00
nfcmrvl.h NFC: nfcmrvl: add i2c driver 2015-10-27 04:21:14 +01:00
spi.c NFC: nfcmrvl: drop duplicate header gpio.h 2017-04-01 23:42:54 +02:00
uart.c NFC: nfcmrvl: remove unneeded CONFIG_OF switches 2015-11-05 00:32:25 +01:00
usb.c NFC: nfcmrvl: configure head/tail room values per low level drivers 2015-10-27 04:19:44 +01:00