summaryrefslogtreecommitdiffstats
path: root/drivers/nfc/virtual_ncidev.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/nfc/virtual_ncidev.c')
-rw-r--r--drivers/nfc/virtual_ncidev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nfc/virtual_ncidev.c b/drivers/nfc/virtual_ncidev.c
index 221fa3bb8705..f577449e4935 100644
--- a/drivers/nfc/virtual_ncidev.c
+++ b/drivers/nfc/virtual_ncidev.c
@@ -202,7 +202,7 @@ static int __init virtual_ncidev_init(void)
miscdev.minor = MISC_DYNAMIC_MINOR;
miscdev.name = "virtual_nci";
miscdev.fops = &virtual_ncidev_fops;
- miscdev.mode = S_IALLUGO;
+ miscdev.mode = 0600;
return misc_register(&miscdev);
}