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

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

diff -u --recursive --new-file v2.1.35/linux/drivers/scsi/scsi.c linux/drivers/scsi/scsi.c
@@ -48,6 +48,7 @@
 #include <linux/blk.h>
 #include <linux/interrupt.h>
 #include <linux/delay.h>
+#include <linux/init.h>
 
 #include <asm/system.h>
 #include <asm/irq.h>
@@ -2537,7 +2538,7 @@
  * initialization, bus scanning, and sd/st initialization routines.
  */
 
-int scsi_dev_init(void)
+__initfunc(int scsi_dev_init(void))
 {
     Scsi_Device * SDpnt;
     struct Scsi_Host * shpnt;

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