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

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

diff -u --recursive --new-file v2.3.15/linux/drivers/scsi/esp.c linux/drivers/scsi/esp.c
@@ -671,9 +671,9 @@
 	trash = eregs->esp_intrpt;
 }
 
-__initfunc(int detect_one_esp
+int __init detect_one_esp
 (Scsi_Host_Template *tpnt, struct linux_sbus_device *esp_dev, struct linux_sbus_device *espdma,
- struct linux_sbus *sbus, int id, int hme))
+ struct linux_sbus *sbus, int id, int hme)
 {
 	struct Sparc_ESP *esp, *elink;
 	struct Scsi_Host *esp_host;
@@ -1022,7 +1022,7 @@
 
 #include <asm/sun4paddr.h>
 
-__initfunc(int esp_detect(Scsi_Host_Template *tpnt))
+int __init esp_detect(Scsi_Host_Template *tpnt)
 {
 	static struct linux_sbus_device esp_dev;
 	int esps_in_use = 0;
@@ -1044,7 +1044,7 @@
 
 #else /* !CONFIG_SUN4 */
 
-__initfunc(int esp_detect(Scsi_Host_Template *tpnt))
+int __init esp_detect(Scsi_Host_Template *tpnt)
 {
 	struct linux_sbus *sbus;
 	struct linux_sbus_device *esp_dev, *sbdev_iter;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)