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

Next file: linux/drivers/block/loop.c
Previous file: linux/drivers/block/ide.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.36/linux/drivers/block/linear.c linux/drivers/block/linear.c
@@ -21,6 +21,7 @@
 
 #include <linux/md.h>
 #include <linux/malloc.h>
+#include <linux/init.h>
 
 #include "linear.h"
 
@@ -180,7 +181,7 @@
 
 #ifndef MODULE
 
-void linear_init (void)
+__initfunc(void linear_init (void))
 {
   register_md_personality (LINEAR, &linear_personality);
 }

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