patch-2.4.19 linux-2.4.19/arch/mips64/arc/arc_con.c
Next file: linux-2.4.19/arch/mips64/arc/identify.c
Previous file: linux-2.4.19/arch/mips64/Makefile
Back to the patch index
Back to the overall index
- Lines: 39
- Date:
Fri Aug 2 17:39:43 2002
- Orig file:
linux-2.4.18/arch/mips64/arc/arc_con.c
- Orig date:
Wed Jul 4 11:50:39 2001
diff -urN linux-2.4.18/arch/mips64/arc/arc_con.c linux-2.4.19/arch/mips64/arc/arc_con.c
@@ -39,33 +39,17 @@
}
}
-static int prom_console_wait_key(struct console *co)
-{
- return 0;
-}
-
-static int __init prom_console_setup(struct console *co, char *options)
-{
- return 0;
-}
-
static kdev_t prom_console_device(struct console *c)
{
return MKDEV(TTY_MAJOR, 64 + c->index);
}
static struct console arc_cons = {
- "ttyS",
- prom_console_write,
- NULL,
- prom_console_device,
- prom_console_wait_key,
- NULL,
- prom_console_setup,
- CON_PRINTBUFFER,
- -1,
- 0,
- NULL
+ name: "ttyS",
+ write: prom_console_write,
+ device: prom_console_device,
+ flags: CON_PRINTBUFFER,
+ index: -1,
};
/*
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)