diff options
author | Seung-Woo Kim <sw0312.kim@samsung.com> | 2015-05-06 18:48:37 +0900 |
---|---|---|
committer | Seung-Woo Kim <sw0312.kim@samsung.com> | 2016-12-14 13:44:51 +0900 |
commit | 4637d313795b63ce0025b719eb76cf2934a8b37c (patch) | |
tree | 7066c9fa7470988a47961d53235c286b6301b166 /drivers | |
parent | eb35ce510cccb4be59a6ba8f893d6bea004ef976 (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')
-rw-r--r-- | drivers/nfc/sec_nfc.c | 3 |
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 |