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: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
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;
static struct console stdiocons = {
name: "tty",
write: console_write,
- device: console_device,
+ device: um_console_device,
setup: console_setup,
flags: CON_PRINTBUFFER,
index: -1,