fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git] / arch / um / drivers / stdio_console.c
index 78ad35f..7a4897e 100644 (file)
@@ -107,9 +107,10 @@ static int con_open(struct tty_struct *tty, struct file *filp)
        return line_open(vts, tty);
 }
 
+/* Set in an initcall, checked in an exitcall */
 static int con_init_done = 0;
 
-static struct tty_operations console_ops = {
+static const struct tty_operations console_ops = {
        .open                   = con_open,
        .close                  = line_close,
        .write                  = line_write,