[PATCH] Fix srmcons tty_operations

Marc Zyngier (mzyngier@freesurf.fr)
Thu, 12 Jun 2003 11:21:14 +0200


Al,

The included patch fixes srmcons by adding a missing
tty_set_operations. Booted the patched kernel on a test box with
success.

Thanks,

M.

===== arch/alpha/kernel/srmcons.c 1.5 vs edited =====
--- 1.5/arch/alpha/kernel/srmcons.c Wed Jun 11 21:33:05 2003
+++ edited/arch/alpha/kernel/srmcons.c Thu Jun 12 11:10:35 2003
@@ -291,6 +291,7 @@
driver->type = TTY_DRIVER_TYPE_SYSTEM;
driver->subtype = SYSTEM_TYPE_SYSCONS;
driver->init_termios = tty_std_termios;
+ tty_set_operations(driver, &srmcons_ops);
err = tty_register_driver(driver);
if (err) {
put_tty_driver(driver);

-- 
Places change, faces change. Life is so very strange.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/