summaryrefslogtreecommitdiff
path: root/drivers/misc
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-10-16 09:05:17 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-10-16 22:21:51 +0400
commit88429a105e8c810d9cc9a4ff82cd571816e9858e (patch)
treec6367ec01b4a8425e4a5a3891dd57ea8e054d8b5 /drivers/misc
parent6d97e2345a03bcf15471fc7e93560fc71e0c11d8 (diff)
downloadlinux-88429a105e8c810d9cc9a4ff82cd571816e9858e.tar.xz
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')
-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)
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 };
static struct key_entry *key;