[2.6 patch] make hp_wmi_notify() static

Previous thread: build failure for 2.6.27-rc3-git4 by Denys Fedoryshchenko on Sunday, August 17, 2008 - 4:12 pm. (1 message)

Next thread: [ANNOUNCE] GIT 1.6.0 by Junio C Hamano on Sunday, August 17, 2008 - 5:16 pm. (1 message)
To: Matthew Garrett <mjg@...>
Cc: <linux-kernel@...>, Andrew Morton <akpm@...>
Date: Sunday, August 17, 2008 - 4:21 pm

This patch makes the needlessly global hp_wmi_notify() static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---
627792794e9990e58aee1f523ce9d4c9cb81c402
diff --git a/drivers/misc/hp-wmi.c b/drivers/misc/hp-wmi.c
index 1dbcbcb..37ecb3b 100644
--- a/drivers/misc/hp-wmi.c
+++ b/drivers/misc/hp-wmi.c
@@ -306,7 +306,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;

--

Previous thread: build failure for 2.6.27-rc3-git4 by Denys Fedoryshchenko on Sunday, August 17, 2008 - 4:12 pm. (1 message)

Next thread: [ANNOUNCE] GIT 1.6.0 by Junio C Hamano on Sunday, August 17, 2008 - 5:16 pm. (1 message)