diff options
Diffstat (limited to 'drivers/acpi/debugfs.c')
-rw-r--r-- | drivers/acpi/debugfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/debugfs.c b/drivers/acpi/debugfs.c index 6355b575ee5a..5df67f1d6c61 100644 --- a/drivers/acpi/debugfs.c +++ b/drivers/acpi/debugfs.c | |||
@@ -80,7 +80,7 @@ int __init acpi_debugfs_init(void) | |||
80 | if (!acpi_dir) | 80 | if (!acpi_dir) |
81 | goto err; | 81 | goto err; |
82 | 82 | ||
83 | cm_dentry = debugfs_create_file("custom_method", S_IWUGO, | 83 | cm_dentry = debugfs_create_file("custom_method", S_IWUSR, |
84 | acpi_dir, NULL, &cm_fops); | 84 | acpi_dir, NULL, &cm_fops); |
85 | if (!cm_dentry) | 85 | if (!cm_dentry) |
86 | goto err; | 86 | goto err; |