Re: 2.5.71 compile error on alpha

Ivan Kokshaysky (ink@jurassic.park.msu.ru)
Tue, 17 Jun 2003 16:16:39 +0400


On Tue, Jun 17, 2003 at 01:00:01AM +0200, Måns Rullgård wrote:
> Not looking at the code, I guess you could just remove the definition
> of srmcons_ops from srmcons.c.

No, use appended patch.

Ivan.

--- 2.5.72/arch/alpha/kernel/srmcons.c Mon Jun 16 16:00:39 2003
+++ linux/arch/alpha/kernel/srmcons.c Mon Jun 16 16:13:17 2003
@@ -291,6 +291,7 @@ srmcons_init(void)
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);
-
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/