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

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

diff -u --recursive --new-file v2.1.35/linux/drivers/scsi/esp.c linux/drivers/scsi/esp.c
@@ -20,6 +20,7 @@
 #include <linux/blk.h>
 #include <linux/proc_fs.h>
 #include <linux/stat.h>
+#include <linux/init.h>
 
 #include "scsi.h"
 #include "hosts.h"
@@ -639,7 +640,7 @@
 /* Detecting ESP chips on the machine.  This is the simple and easy
  * version.
  */
-int esp_detect(Scsi_Host_Template *tpnt)
+__initfunc(int esp_detect(Scsi_Host_Template *tpnt))
 {
 	struct Sparc_ESP *esp, *elink;
 	struct Scsi_Host *esp_host;

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