Commit ccc94256 authored by Milind Arun Choudhary's avatar Milind Arun Choudhary Committed by Linus Torvalds

SPIN_LOCK_UNLOCKED cleanup in drivers/char/keyboard

SPIN_LOCK_UNLOCKED cleanup,use __SPIN_LOCK_UNLOCKED instead
Signed-off-by: default avatarMilind Arun Choudhary <milindchoudhary@gmail.com>
Cc: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent b32e41bb
...@@ -109,7 +109,7 @@ struct kbd_struct kbd_table[MAX_NR_CONSOLES]; ...@@ -109,7 +109,7 @@ struct kbd_struct kbd_table[MAX_NR_CONSOLES];
static struct kbd_struct *kbd = kbd_table; static struct kbd_struct *kbd = kbd_table;
struct vt_spawn_console vt_spawn_con = { struct vt_spawn_console vt_spawn_con = {
.lock = SPIN_LOCK_UNLOCKED, .lock = __SPIN_LOCK_UNLOCKED(vt_spawn_con.lock),
.pid = NULL, .pid = NULL,
.sig = 0, .sig = 0,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment