patch-2.3.18 linux/arch/m68k/sun3/idprom.c
Next file: linux/arch/m68k/sun3/prom/init.c
Previous file: linux/arch/m68k/sun3/config.c
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Wed Sep 8 11:20:42 1999
- Orig file:
v2.3.17/linux/arch/m68k/sun3/idprom.c
- Orig date:
Tue Sep 7 12:14:06 1999
diff -u --recursive --new-file v2.3.17/linux/arch/m68k/sun3/idprom.c linux/arch/m68k/sun3/idprom.c
@@ -54,7 +54,7 @@
//{ "Sun4M OBP based system", (SM_SUN4M_OBP | 0x0) }
};
-__initfunc(static void display_system_type(unsigned char machtype))
+static void __init display_system_type(unsigned char machtype)
{
register int i;
@@ -92,7 +92,7 @@
/* Calculate the IDPROM checksum (xor of the data bytes). */
-__initfunc(static unsigned char calc_idprom_cksum(struct idprom *idprom))
+static unsigned char __init calc_idprom_cksum(struct idprom *idprom)
{
unsigned char cksum, i, *ptr = (unsigned char *)idprom;
@@ -103,7 +103,7 @@
}
/* Create a local IDPROM copy, verify integrity, and display information. */
-__initfunc(void idprom_init(void))
+void __init idprom_init(void)
{
prom_get_idprom((char *) &idprom_buffer, sizeof(idprom_buffer));
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)