summaryrefslogtreecommitdiff
path: root/drivers/input
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-07-03 12:10:52 -0400
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2008-07-07 09:01:39 -0400
commit4ad88901dd675acb9c8d1eca1f083c3d22cbbd4d (patch)
tree55646eb39a4b3c6a8828b57b95167ea267f488b1 /drivers/input
parentf4bc95d7bd5d2e57d5a64b5bcd35928beb7026de (diff)
Input: q40kbd - make q40kbd_lock static
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>
Diffstat (limited to 'drivers/input')
-rw-r--r--drivers/input/serio/q40kbd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/serio/q40kbd.c b/drivers/input/serio/q40kbd.c
index eca125c8d53..ab28cf5949f 100644
--- a/drivers/input/serio/q40kbd.c
+++ b/drivers/input/serio/q40kbd.c
@@ -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;