projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4bc95d
)
Input: q40kbd - make q40kbd_lock static
author
Adrian Bunk
<bunk@kernel.org>
Thu, 3 Jul 2008 16:10:52 +0000
(12:10 -0400)
committer
Dmitry 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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/input/serio/q40kbd.c
b/drivers/input/serio/q40kbd.c
index eca125c8d535ffcb39c194cc5c8029dbfa57b5d5..ab28cf5949f24b61fa15c3175ea201266f9b3023 100644
(file)
--- 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;