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 7de27d49c4b9..74c4a398604a 100644 --- a/drivers/acpi/debugfs.c +++ b/drivers/acpi/debugfs.c | |||
@@ -79,7 +79,7 @@ int __init acpi_debugfs_init(void) | |||
79 | if (!acpi_dir) | 79 | if (!acpi_dir) |
80 | goto err; | 80 | goto err; |
81 | 81 | ||
82 | cm_dentry = debugfs_create_file("custom_method", S_IWUGO, | 82 | cm_dentry = debugfs_create_file("custom_method", S_IWUSR, |
83 | acpi_dir, NULL, &cm_fops); | 83 | acpi_dir, NULL, &cm_fops); |
84 | if (!cm_dentry) | 84 | if (!cm_dentry) |
85 | goto err; | 85 | goto err; |