patch-2.1.37 linux/drivers/scsi/gvp11.c

Next file: linux/drivers/scsi/hosts.c
Previous file: linux/drivers/scsi/dc390.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.36/linux/drivers/scsi/gvp11.c linux/drivers/scsi/gvp11.c
@@ -3,6 +3,7 @@
 #include <linux/blk.h>
 #include <linux/sched.h>
 #include <linux/version.h>
+#include <linux/init.h>
 
 #include <asm/setup.h>
 #include <asm/page.h>
@@ -198,7 +199,7 @@
 
 static int num_gvp11 = 0;
 
-int gvp11_detect(Scsi_Host_Template *tpnt)
+__initfunc(int gvp11_detect(Scsi_Host_Template *tpnt))
 {
     static unsigned char called = 0;
     struct Scsi_Host *instance;

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