aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/hp-wmi.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-10-16 01:05:17 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-10-16 14:21:51 -0400
commit88429a105e8c810d9cc9a4ff82cd571816e9858e (patch)
treec6367ec01b4a8425e4a5a3891dd57ea8e054d8b5 /drivers/misc/hp-wmi.c
parent6d97e2345a03bcf15471fc7e93560fc71e0c11d8 (diff)
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>
Diffstat (limited to 'drivers/misc/hp-wmi.c')
-rw-r--r--drivers/misc/hp-wmi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/hp-wmi.c b/drivers/misc/hp-wmi.c
index 6d407c2a4f91..5dabfb69ee53 100644
--- a/drivers/misc/hp-wmi.c
+++ b/drivers/misc/hp-wmi.c
@@ -309,7 +309,7 @@ static int hp_wmi_setkeycode(struct input_dev *dev, int scancode, int keycode)
309 return -EINVAL; 309 return -EINVAL;
310} 310}
311 311
312void hp_wmi_notify(u32 value, void *context) 312static void hp_wmi_notify(u32 value, void *context)
313{ 313{
314 struct acpi_buffer response = { ACPI_ALLOCATE_BUFFER, NULL }; 314 struct acpi_buffer response = { ACPI_ALLOCATE_BUFFER, NULL };
315 static struct key_entry *key; 315 static struct key_entry *key;