Commit 0ea8c887 authored by Paolo \'Blaisorblade\' Giarrusso's avatar Paolo \'Blaisorblade\' Giarrusso Committed by Linus Torvalds

[PATCH] uml: rename console_device

In the -mm tree (in this moment) and not in 2.6.7 there is another
console_device in include/linux/console.h; so I renamed the UML one (it's
static).

Cc: Jeff Dike <jdike@addtoit.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 33596604
......@@ -203,7 +203,7 @@ static void console_write(struct console *console, const char *string,
up(&line->sem);
}
static struct tty_driver *console_device(struct console *c, int *index)
static struct tty_driver *um_console_device(struct console *c, int *index)
{
*index = c->index;
return console_driver;
......@@ -217,7 +217,7 @@ static int console_setup(struct console *co, char *options)
static struct console stdiocons = {
name: "tty",
write: console_write,
device: console_device,
device: um_console_device,
setup: console_setup,
flags: CON_PRINTBUFFER,
index: -1,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment