diff options
Diffstat (limited to 'drivers/nfc/sec_nfc.c')
-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 |