diff options
author | Jeff Dike <jdike@addtoit.com> | 2007-02-10 09:44:11 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-11 18:51:22 (GMT) |
commit | c0961c1804c46bf5bb253e1bd6bc93e4627b79a1 (patch) | |
tree | ab4405ea86fc5a52122c11719aff51c1e5c7626d | |
parent | 60678bbc76685bea47043e61981b8fc5cffc10da (diff) | |
download | linux-c0961c1804c46bf5bb253e1bd6bc93e4627b79a1.tar.xz |
[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>
-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 8dccdd1..7ff0b0f 100644 --- a/arch/um/drivers/stdio_console.c +++ b/arch/um/drivers/stdio_console.c @@ -69,6 +69,7 @@ static struct line_driver driver = { .write_irq = CONSOLE_WRITE_IRQ, .write_irq_name = "console-write", .mc = { + .list = LIST_HEAD_INIT(driver.mc.list), .name = "con", .config = con_config, .get_config = con_get_config, |