diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-07-03 18:10:52 +0200 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2008-07-07 15:01:39 +0200 |
commit | 4ad88901dd675acb9c8d1eca1f083c3d22cbbd4d (patch) | |
tree | 55646eb39a4b3c6a8828b57b95167ea267f488b1 /drivers/input | |
parent | Input: gtco - eliminate early return (diff) | |
download | linux-4ad88901dd675acb9c8d1eca1f083c3d22cbbd4d.tar.xz linux-4ad88901dd675acb9c8d1eca1f083c3d22cbbd4d.zip |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/serio/q40kbd.c b/drivers/input/serio/q40kbd.c index eca125c8d535..ab28cf5949f2 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; |