* [KJ][PATCH]SPIN_LOCK_UNLOCKED cleanup in drivers/char/keyboard
@ 2007-04-19 11:19 Milind Arun Choudhary
0 siblings, 0 replies; only message in thread
From: Milind Arun Choudhary @ 2007-04-19 11:19 UTC (permalink / raw)
To: Kernel Janitors, INPUT; +Cc: Andrw Morton, LKML, dmitry.torokhov
SPIN_LOCK_UNLOCKED cleanup,use __SPIN_LOCK_UNLOCKED instead
Signed-off-by: Milind Arun Choudhary <milindchoudhary@gmail.com>
---
keyboard.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/char/keyboard.c b/drivers/char/keyboard.c
index cb8d691..df9bfc1 100644
--- a/drivers/char/keyboard.c
+++ b/drivers/char/keyboard.c
@@ -110,7 +110,7 @@ struct kbd_struct kbd_table[MAX_NR_CONSOLES];
static struct kbd_struct *kbd = kbd_table;
struct vt_spawn_console vt_spawn_con = {
- .lock = SPIN_LOCK_UNLOCKED,
+ .lock = __SPIN_LOCK_UNLOCKED(vt_spawn_con.lock),
.pid = NULL,
.sig = 0,
};
--
Milind Arun Choudhary
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2007-04-19 11:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-19 11:19 [KJ][PATCH]SPIN_LOCK_UNLOCKED cleanup in drivers/char/keyboard Milind Arun Choudhary
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).