Browse Source

make hp_wmi_notify() static

Make the needlessly global hp_wmi_notify() static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Adrian Bunk 16 years ago
parent
commit
88429a105e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/misc/hp-wmi.c

+ 1 - 1
drivers/misc/hp-wmi.c

@@ -309,7 +309,7 @@ static int hp_wmi_setkeycode(struct input_dev *dev, int scancode, int keycode)
 	return -EINVAL;
 	return -EINVAL;
 }
 }
 
 
-void hp_wmi_notify(u32 value, void *context)
+static void hp_wmi_notify(u32 value, void *context)
 {
 {
 	struct acpi_buffer response = { ACPI_ALLOCATE_BUFFER, NULL };
 	struct acpi_buffer response = { ACPI_ALLOCATE_BUFFER, NULL };
 	static struct key_entry *key;
 	static struct key_entry *key;