diff options
Diffstat (limited to 'drivers/platform/x86/thinkpad_acpi.c')
-rw-r--r-- | drivers/platform/x86/thinkpad_acpi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/platform/x86/thinkpad_acpi.c b/drivers/platform/x86/thinkpad_acpi.c index 7b828680b21d..455e1522253e 100644 --- a/drivers/platform/x86/thinkpad_acpi.c +++ b/drivers/platform/x86/thinkpad_acpi.c | |||
@@ -297,7 +297,7 @@ struct ibm_init_struct { | |||
297 | char param[32]; | 297 | char param[32]; |
298 | 298 | ||
299 | int (*init) (struct ibm_init_struct *); | 299 | int (*init) (struct ibm_init_struct *); |
300 | mode_t base_procfs_mode; | 300 | umode_t base_procfs_mode; |
301 | struct ibm_struct *data; | 301 | struct ibm_struct *data; |
302 | }; | 302 | }; |
303 | 303 | ||
@@ -8542,7 +8542,7 @@ static int __init ibm_init(struct ibm_init_struct *iibm) | |||
8542 | "%s installed\n", ibm->name); | 8542 | "%s installed\n", ibm->name); |
8543 | 8543 | ||
8544 | if (ibm->read) { | 8544 | if (ibm->read) { |
8545 | mode_t mode = iibm->base_procfs_mode; | 8545 | umode_t mode = iibm->base_procfs_mode; |
8546 | 8546 | ||
8547 | if (!mode) | 8547 | if (!mode) |
8548 | mode = S_IRUGO; | 8548 | mode = S_IRUGO; |