patch-2.1.36 linux/drivers/scsi/hosts.c

Next file: linux/drivers/scsi/ncr53c8xx.c
Previous file: linux/drivers/scsi/gvp11.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.35/linux/drivers/scsi/hosts.c linux/drivers/scsi/hosts.c
@@ -30,6 +30,7 @@
 #include <linux/string.h>
 #include <linux/mm.h>
 #include <linux/proc_fs.h>
+#include <linux/init.h>
 
 #include "scsi.h"
 
@@ -433,7 +434,7 @@
     return 0;
 }
 
-unsigned int scsi_init()
+__initfunc(unsigned int scsi_init(void))
 {
     static int called = 0;
     int i, pcount;

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