patch-2.1.101 linux/arch/mips/kernel/irixinv.c

Next file: linux/arch/mips/kernel/irixioctl.c
Previous file: linux/arch/mips/kernel/irixelf.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.100/linux/arch/mips/kernel/irixinv.c linux/arch/mips/kernel/irixinv.c
@@ -5,9 +5,10 @@
  *
  * Miguel de Icaza, 1997.
  *
- * $Id: irixinv.c,v 1.2 1997/12/06 21:29:58 ralf Exp $
+ * $Id: irixinv.c,v 1.2 1998/05/01 01:33:58 ralf Exp $
  */
 #include <linux/mm.h>
+#include <linux/init.h>
 #include <linux/slab.h>
 #include <asm/uaccess.h>
 #include <asm/inventory.h>
@@ -52,8 +53,7 @@
 	return inventory_items * sizeof (inventory_t);
 }
 
-void
-init_inventory (void)
+__initfunc(void init_inventory (void))
 {
 	/* gross hack while we put the right bits all over the kernel
 	 * most likely this will not let just anyone run the X server

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