* [2.6 patch] make q40kbd_lock static
@ 2008-06-09 22:23 Adrian Bunk
0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2008-06-09 22:23 UTC (permalink / raw)
To: dmitry.torokhov; +Cc: linux-input, linux-kernel
This patch makes the needlessly global q40kbd_lock static.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
---
1bf64b91d180438d8810ea49a02687657d3a488e diff --git a/drivers/input/serio/q40kbd.c b/drivers/input/serio/q40kbd.c
index d962a8d..52a531b 100644
--- a/drivers/input/serio/q40kbd.c
+++ b/drivers/input/serio/q40kbd.c
@@ -49,7 +49,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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-06-09 22:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-09 22:23 [2.6 patch] make q40kbd_lock static Adrian Bunk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®