diff options
author | Milind Arun Choudhary <milindchoudhary@gmail.com> | 2007-05-08 03:30:09 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-08 14:15:11 -0400 |
commit | ccc942567e10d6a5d59c4d57f03d07b4110611ea (patch) | |
tree | 950f75d3a62b8d36d7c1201377749e6b9e1867d7 | |
parent | b32e41bb97971161ad34ea69364c4f9ec3909151 (diff) |
SPIN_LOCK_UNLOCKED cleanup in drivers/char/keyboard
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>
-rw-r--r-- | drivers/char/keyboard.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/keyboard.c b/drivers/char/keyboard.c index c06e86ad1dab..1b094509b1d2 100644 --- a/drivers/char/keyboard.c +++ b/drivers/char/keyboard.c | |||
@@ -109,7 +109,7 @@ struct kbd_struct kbd_table[MAX_NR_CONSOLES]; | |||
109 | static struct kbd_struct *kbd = kbd_table; | 109 | static struct kbd_struct *kbd = kbd_table; |
110 | 110 | ||
111 | struct vt_spawn_console vt_spawn_con = { | 111 | struct vt_spawn_console vt_spawn_con = { |
112 | .lock = SPIN_LOCK_UNLOCKED, | 112 | .lock = __SPIN_LOCK_UNLOCKED(vt_spawn_con.lock), |
113 | .pid = NULL, | 113 | .pid = NULL, |
114 | .sig = 0, | 114 | .sig = 0, |
115 | }; | 115 | }; |