small patch to 2.1.87 tty_io.c

Trevor Johnson (trevor@jpj.net)
Wed, 18 Feb 1998 12:34:48 -0800 (PST)


The patch below eliminates this warning when compiling without CONFIG_VT:

tty_io.c:1964: warning: `dev_console_driver' defined but not used
___
Trevor Johnson

--- drivers/char/tty_io.c.orig Tue Feb 17 01:53:21 1998
+++ drivers/char/tty_io.c Wed Feb 18 12:30:33 1998
@@ -1961,7 +1961,10 @@
return kmem_start;
}

-static struct tty_driver dev_tty_driver, dev_console_driver,
+static struct tty_driver dev_tty_driver,
+#ifdef CONFIG_VT
+dev_console_driver,
+#endif
dev_syscons_driver, dev_ptmx_driver;

/*

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu