]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
Input: q40kbd - make q40kbd_lock static
authorAdrian Bunk <bunk@kernel.org>
Thu, 3 Jul 2008 16:10:52 +0000 (12:10 -0400)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 7 Jul 2008 13:01:39 +0000 (09:01 -0400)
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>
drivers/input/serio/q40kbd.c

index eca125c8d535ffcb39c194cc5c8029dbfa57b5d5..ab28cf5949f24b61fa15c3175ea201266f9b3023 100644 (file)
@@ -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;