patch-2.1.16 linux/arch/sparc/prom/ranges.c
Next file: linux/drivers/char/Config.in
Previous file: linux/arch/sparc/prom/memory.c
Back to the patch index
Back to the overall index
- Lines: 32
- Date:
Fri Dec 13 11:37:32 1996
- Orig file:
v2.1.15/linux/arch/sparc/prom/ranges.c
- Orig date:
Tue Nov 12 15:56:04 1996
diff -u --recursive --new-file v2.1.15/linux/arch/sparc/prom/ranges.c linux/arch/sparc/prom/ranges.c
@@ -1,9 +1,10 @@
-/* $Id: ranges.c,v 1.6 1996/11/03 08:12:01 davem Exp $
+/* $Id: ranges.c,v 1.7 1996/11/13 05:10:12 davem Exp $
* ranges.c: Handle ranges in newer proms for obio/sbus.
*
* Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu)
*/
+#include <linux/init.h>
#include <asm/openprom.h>
#include <asm/oplib.h>
#include <asm/sbus.h>
@@ -63,8 +64,7 @@
prom_adjust_regs(regs, nregs, sbus->sbus_ranges, sbus->num_sbus_ranges);
}
-void
-prom_ranges_init(void)
+__initfunc(void prom_ranges_init(void))
{
int node, obio_node;
int success;
@@ -89,8 +89,7 @@
return;
}
-void
-prom_sbus_ranges_init(int parentnd, struct linux_sbus *sbus)
+__initfunc(void prom_sbus_ranges_init(int parentnd, struct linux_sbus *sbus))
{
int success;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov