patch-2.1.37 linux/drivers/block/z2ram.c

Next file: linux/drivers/cdrom/aztcd.c
Previous file: linux/drivers/block/xd.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.36/linux/drivers/block/z2ram.c linux/drivers/block/z2ram.c
@@ -28,6 +28,7 @@
 #include <linux/major.h>
 #include <linux/malloc.h>
 #include <linux/blk.h>
+#include <linux/init.h>
 
 #if defined(MODULE)
 #include <linux/module.h>
@@ -282,8 +283,8 @@
         block_fsync             /* fsync */
 };
 
-int
-z2_init( void )
+__initfunc(int
+z2_init( void ))
 {
 
     if ( !MACH_IS_AMIGA )

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