diff options
author | Jeff Dike <jdike@addtoit.com> | 2007-02-10 01:44:11 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-11 10:51:22 -0800 |
commit | c0961c1804c46bf5bb253e1bd6bc93e4627b79a1 (patch) | |
tree | ab4405ea86fc5a52122c11719aff51c1e5c7626d /arch/um/drivers/stdio_console.c | |
parent | 60678bbc76685bea47043e61981b8fc5cffc10da (diff) | |
download | blackbird-op-linux-c0961c1804c46bf5bb253e1bd6bc93e4627b79a1.tar.gz blackbird-op-linux-c0961c1804c46bf5bb253e1bd6bc93e4627b79a1.zip |
[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/um/drivers/stdio_console.c')
-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 = { .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, |