diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-07-03 12:10:52 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2008-07-07 09:01:39 -0400 |
commit | 4ad88901dd675acb9c8d1eca1f083c3d22cbbd4d (patch) | |
tree | 55646eb39a4b3c6a8828b57b95167ea267f488b1 /drivers/input/serio/q40kbd.c | |
parent | f4bc95d7bd5d2e57d5a64b5bcd35928beb7026de (diff) | |
download | op-kernel-dev-4ad88901dd675acb9c8d1eca1f083c3d22cbbd4d.zip op-kernel-dev-4ad88901dd675acb9c8d1eca1f083c3d22cbbd4d.tar.gz |
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/serio/q40kbd.c')
-rw-r--r-- | drivers/input/serio/q40kbd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/serio/q40kbd.c b/drivers/input/serio/q40kbd.c index eca125c..ab28cf5 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; |