diff options
Diffstat (limited to 'drivers/platform/x86/asus_acpi.c')
-rw-r--r-- | drivers/platform/x86/asus_acpi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/platform/x86/asus_acpi.c b/drivers/platform/x86/asus_acpi.c index d9312b3073e5..6f966d6c062b 100644 --- a/drivers/platform/x86/asus_acpi.c +++ b/drivers/platform/x86/asus_acpi.c | |||
@@ -1053,7 +1053,7 @@ static const struct file_operations disp_proc_fops = { | |||
1053 | }; | 1053 | }; |
1054 | 1054 | ||
1055 | static int | 1055 | static int |
1056 | asus_proc_add(char *name, const struct file_operations *proc_fops, mode_t mode, | 1056 | asus_proc_add(char *name, const struct file_operations *proc_fops, umode_t mode, |
1057 | struct acpi_device *device) | 1057 | struct acpi_device *device) |
1058 | { | 1058 | { |
1059 | struct proc_dir_entry *proc; | 1059 | struct proc_dir_entry *proc; |
@@ -1072,7 +1072,7 @@ asus_proc_add(char *name, const struct file_operations *proc_fops, mode_t mode, | |||
1072 | static int asus_hotk_add_fs(struct acpi_device *device) | 1072 | static int asus_hotk_add_fs(struct acpi_device *device) |
1073 | { | 1073 | { |
1074 | struct proc_dir_entry *proc; | 1074 | struct proc_dir_entry *proc; |
1075 | mode_t mode; | 1075 | umode_t mode; |
1076 | 1076 | ||
1077 | if ((asus_uid == 0) && (asus_gid == 0)) { | 1077 | if ((asus_uid == 0) && (asus_gid == 0)) { |
1078 | mode = S_IFREG | S_IRUGO | S_IWUSR | S_IWGRP; | 1078 | mode = S_IFREG | S_IRUGO | S_IWUSR | S_IWGRP; |