diff options
Diffstat (limited to 'drivers/acpi/ec_sys.c')
-rw-r--r-- | drivers/acpi/ec_sys.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/ec_sys.c b/drivers/acpi/ec_sys.c index 6c47ae9793a7..b258cab9061c 100644 --- a/drivers/acpi/ec_sys.c +++ b/drivers/acpi/ec_sys.c | |||
@@ -105,7 +105,7 @@ int acpi_ec_add_debugfs(struct acpi_ec *ec, unsigned int ec_device_count) | |||
105 | { | 105 | { |
106 | struct dentry *dev_dir; | 106 | struct dentry *dev_dir; |
107 | char name[64]; | 107 | char name[64]; |
108 | mode_t mode = 0400; | 108 | umode_t mode = 0400; |
109 | 109 | ||
110 | if (ec_device_count == 0) { | 110 | if (ec_device_count == 0) { |
111 | acpi_ec_debugfs_dir = debugfs_create_dir("ec", NULL); | 111 | acpi_ec_debugfs_dir = debugfs_create_dir("ec", NULL); |