diff options
author | Jeff Dike <jdike@addtoit.com> | 2007-02-10 04:44:11 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-11 13:51:22 -0500 |
commit | c0961c1804c46bf5bb253e1bd6bc93e4627b79a1 (patch) | |
tree | ab4405ea86fc5a52122c11719aff51c1e5c7626d /arch | |
parent | 60678bbc76685bea47043e61981b8fc5cffc10da (diff) |
[PATCH] uml: initialize a list head
We need to initialize lists properly.
Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/um/drivers/stdio_console.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/um/drivers/stdio_console.c b/arch/um/drivers/stdio_console.c index 8dccdd193d94..7ff0b0fc37e7 100644 --- a/arch/um/drivers/stdio_console.c +++ b/arch/um/drivers/stdio_console.c | |||
@@ -69,6 +69,7 @@ static struct line_driver driver = { | |||
69 | .write_irq = CONSOLE_WRITE_IRQ, | 69 | .write_irq = CONSOLE_WRITE_IRQ, |
70 | .write_irq_name = "console-write", | 70 | .write_irq_name = "console-write", |
71 | .mc = { | 71 | .mc = { |
72 | .list = LIST_HEAD_INIT(driver.mc.list), | ||
72 | .name = "con", | 73 | .name = "con", |
73 | .config = con_config, | 74 | .config = con_config, |
74 | .get_config = con_get_config, | 75 | .get_config = con_get_config, |