From 9601db367f3a37f4c8981bcb0144f092350c54f6 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Wed, 30 Mar 2005 22:53:30 -0500 Subject: [PATCH] --- yaml --- r: 4729 b: refs/heads/master c: 8de7a63b69a263b7549599be882d7aa15397f8b3 h: refs/heads/master i: 4727: a1bf5888a9207b64cbb7ebb0944d38489ff7cd2c v: v3 --- [refs] | 2 +- trunk/drivers/acpi/hotkey.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 28b3d640e2fc..02037a5007bc 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: d1dd0c23916bd781de27bc5ec1c295064e9ce9cc +refs/heads/master: 8de7a63b69a263b7549599be882d7aa15397f8b3 diff --git a/trunk/drivers/acpi/hotkey.c b/trunk/drivers/acpi/hotkey.c index 0aef9fc449c5..babdf762eadb 100644 --- a/trunk/drivers/acpi/hotkey.c +++ b/trunk/drivers/acpi/hotkey.c @@ -329,9 +329,10 @@ static int auto_hotkey_remove(struct acpi_device *device, int type) static int create_polling_proc(union acpi_hotkey *device) { struct proc_dir_entry *proc; + mode_t mode; ACPI_FUNCTION_TRACE("create_polling_proc"); - mode_t mode = S_IFREG | S_IRUGO | S_IWUGO; + mode = S_IFREG | S_IRUGO | S_IWUGO; proc = create_proc_entry(device->poll_hotkey.action_method, mode, hotkey_proc_dir);