summaryrefslogtreecommitdiffstats
path: root/drivers/nfc/st21nfca
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2014-11-19 21:17:22 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2014-11-28 12:55:29 +0100
commitdb083bcbca77c0ebc1b13d5707fcaffe6711493d (patch)
tree05f1f25d8bc34e214d43fc49499af08258dbe6df /drivers/nfc/st21nfca
parentNFC: digital: Add NFC-DEP Target-side ATN Support (diff)
downloadlinux-db083bcbca77c0ebc1b13d5707fcaffe6711493d.tar.xz
linux-db083bcbca77c0ebc1b13d5707fcaffe6711493d.zip
NFC: 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. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/nfc/st21nfca')
-rw-r--r--drivers/nfc/st21nfca/i2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nfc/st21nfca/i2c.c b/drivers/nfc/st21nfca/i2c.c
index 0ea756b77519..ff6dacb4d482 100644
--- a/drivers/nfc/st21nfca/i2c.c
+++ b/drivers/nfc/st21nfca/i2c.c
@@ -28,8 +28,8 @@
#include <linux/delay.h>
#include <linux/nfc.h>
#include <linux/firmware.h>
-#include <linux/unaligned/access_ok.h>
#include <linux/platform_data/st21nfca.h>
+#include <asm/unaligned.h>
#include <net/nfc/hci.h>
#include <net/nfc/llc.h>