patch-2.1.101 linux/arch/mips/sgi/prom/console.c
Next file: linux/arch/mips/sgi/prom/env.c
Previous file: linux/arch/mips/sgi/prom/cmdline.c
Back to the patch index
Back to the overall index
-  Lines: 27
-  Date:
Fri May  8 00:13:25 1998
-  Orig file: 
v2.1.100/linux/arch/mips/sgi/prom/console.c
-  Orig date: 
Wed Dec 10 10:31:10 1997
diff -u --recursive --new-file v2.1.100/linux/arch/mips/sgi/prom/console.c linux/arch/mips/sgi/prom/console.c
@@ -1,12 +1,14 @@
-/* $Id: console.c,v 1.1.1.1 1997/06/01 03:16:40 ralf Exp $
+/*
  * console.c: SGI arcs console code.
  *
  * Copyright (C) 1996 David S. Miller (dm@sgi.com)
+ *
+ * $Id: console.c,v 1.2 1998/05/01 01:35:23 ralf Exp $
  */
-
+#include <linux/init.h>
 #include <asm/sgialib.h>
 
-void prom_putchar(char c)
+__initfunc(void prom_putchar(char c))
 {
 	long cnt;
 	char it = c;
@@ -14,7 +16,7 @@
 	romvec->write(1, &it, 1, &cnt);
 }
 
-char prom_getchar(void)
+__initfunc(char prom_getchar(void))
 {
 	long cnt;
 	char c;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov