diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-07-24 04:33:43 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-01-03 22:54:56 -0500 |
commit | f4ae40a6a50a98ac23d4b285f739455e926a473e (patch) | |
tree | c84d7393700bd85e5285a194f8c22d4d00e36b28 /drivers/acpi/ec_sys.c | |
parent | 48176a973d65572e61d0ce95495e5072887e6fb6 (diff) | |
download | op-kernel-dev-f4ae40a6a50a98ac23d4b285f739455e926a473e.zip op-kernel-dev-f4ae40a6a50a98ac23d4b285f739455e926a473e.tar.gz |
switch debugfs to umode_t
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
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 6c47ae9..b258cab 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) { struct dentry *dev_dir; char name[64]; - mode_t mode = 0400; + umode_t mode = 0400; if (ec_device_count == 0) { acpi_ec_debugfs_dir = debugfs_create_dir("ec", NULL); |