Skip to content

Commit

Permalink
Input: q40kbd - make q40kbd_lock static
Browse files Browse the repository at this point in the history
This patch makes the needlessly global q40kbd_lock static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
  • Loading branch information
Adrian Bunk authored and Dmitry Torokhov committed Jul 7, 2008
1 parent f4bc95d commit 4ad8890
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/input/serio/q40kbd.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ MODULE_AUTHOR("Vojtech Pavlik <vojtech@ucw.cz>");
MODULE_DESCRIPTION("Q40 PS/2 keyboard controller driver");
MODULE_LICENSE("GPL");

DEFINE_SPINLOCK(q40kbd_lock);
static DEFINE_SPINLOCK(q40kbd_lock);
static struct serio *q40kbd_port;
static struct platform_device *q40kbd_device;

Expand Down

0 comments on commit 4ad8890

Please sign in to comment.