summaryrefslogtreecommitdiff
path: root/drivers/nfc
diff options
context:
space:
mode:
authorSeung-Woo Kim <sw0312.kim@samsung.com>2015-05-06 18:48:37 +0900
committerSeung-Woo Kim <sw0312.kim@samsung.com>2016-12-14 13:44:51 +0900
commit4637d313795b63ce0025b719eb76cf2934a8b37c (patch)
tree7066c9fa7470988a47961d53235c286b6301b166 /drivers/nfc
parenteb35ce510cccb4be59a6ba8f893d6bea004ef976 (diff)
LOCAL / nfc: add compat_ioctl for compatibility
This patch adds compat_ioctl to support 32bit compatiblity. Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Diffstat (limited to 'drivers/nfc')
-rw-r--r--drivers/nfc/sec_nfc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/nfc/sec_nfc.c b/drivers/nfc/sec_nfc.c
index 3053b583dc85..8f06d67d255b 100644
--- a/drivers/nfc/sec_nfc.c
+++ b/drivers/nfc/sec_nfc.c
@@ -594,6 +594,9 @@ static const struct file_operations sec_nfc_fops = {
.open = sec_nfc_open,
.release = sec_nfc_close,
.unlocked_ioctl = sec_nfc_ioctl,
+#ifdef CONFIG_COMPAT
+ .compat_ioctl = sec_nfc_ioctl,
+#endif
};
#ifdef CONFIG_PM