]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
SPIN_LOCK_UNLOCKED cleanup in drivers/char/keyboard
authorMilind Arun Choudhary <milindchoudhary@gmail.com>
Tue, 8 May 2007 07:30:09 +0000 (00:30 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 8 May 2007 18:15:11 +0000 (11:15 -0700)
SPIN_LOCK_UNLOCKED cleanup,use __SPIN_LOCK_UNLOCKED instead

Signed-off-by: Milind Arun Choudhary <milindchoudhary@gmail.com>
Cc: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/keyboard.c

index c06e86ad1dabb2da719a5c77ef8aa6f4965b641c..1b094509b1d2fdb5acaebb980a7e157c3b592b2e 100644 (file)
@@ -109,7 +109,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,
 };