NFC: Don't include linux/unaligned/access_ok.h
authorJohannes Berg <johannes.berg@intel.com>
Wed, 19 Nov 2014 20:17:22 +0000 (21:17 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Fri, 28 Nov 2014 11:55:29 +0000 (12:55 +0100)
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>
drivers/nfc/pn544/i2c.c
drivers/nfc/st21nfca/i2c.c

index 440291ab7263202fc8017c3b9f09f8318f5f872a..fc02e8d6a1936d89dffae06d78441cd0ba62ab5a 100644 (file)
@@ -29,8 +29,8 @@
 #include <linux/delay.h>
 #include <linux/nfc.h>
 #include <linux/firmware.h>
-#include <linux/unaligned/access_ok.h>
 #include <linux/platform_data/pn544.h>
+#include <asm/unaligned.h>
 
 #include <net/nfc/hci.h>
 #include <net/nfc/llc.h>
index 0ea756b7751941f4594ed8f67c60bad9bb271c75..ff6dacb4d482ea247cc39a82b50b1ed17ed15217 100644 (file)
@@ -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>