Skip to content

Commit

Permalink
make hp_wmi_notify() static
Browse files Browse the repository at this point in the history
Make the needlessly global hp_wmi_notify() static.

Signed-off-by: Adrian Bunk <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
AdrianBunk authored and torvalds committed Oct 16, 2008
1 parent 6d97e23 commit 88429a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/misc/hp-wmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 88429a1

Please sign in to comment.