patch-2.1.16 linux/arch/sparc/prom/init.c

Next file: linux/arch/sparc/prom/memory.c
Previous file: linux/arch/sparc/mm/sun4c.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.15/linux/arch/sparc/prom/init.c linux/arch/sparc/prom/init.c
@@ -1,4 +1,4 @@
-/* $Id: init.c,v 1.7 1996/04/04 16:31:00 tridge Exp $
+/* $Id: init.c,v 1.8 1996/11/13 05:10:06 davem Exp $
  * init.c:  Initialize internal variables used by the PROM
  *          library functions.
  *
@@ -7,6 +7,7 @@
 
 #include <linux/config.h>
 #include <linux/kernel.h>
+#include <linux/init.h>
 
 #include <asm/openprom.h>
 #include <asm/oplib.h>
@@ -29,8 +30,7 @@
 extern void prom_meminit(void);
 extern void prom_ranges_init(void);
 
-void
-prom_init(struct linux_romvec *rp)
+__initfunc(void prom_init(struct linux_romvec *rp))
 {
 	romvec = rp;
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov