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

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

diff -u --recursive --new-file v2.1.36/linux/drivers/scsi/atari_NCR5380.c linux/drivers/scsi/atari_NCR5380.c
@@ -323,7 +323,7 @@
 static TAG_ALLOC TagAlloc[8][8]; /* 8 targets and 8 LUNs */
 
 
-static void init_tags( void )
+__initfunc(static void init_tags( void ))
 {
     int target, lun;
     TAG_ALLOC *ta;
@@ -665,7 +665,7 @@
 }
 
 
-static void NCR5380_all_init (void)
+static inline void NCR5380_all_init (void)
 {
     static int done = 0;
     if (!done) {
@@ -684,7 +684,7 @@
  * Inputs : instance, pointer to this instance.  Unused.
  */
 
-static void NCR5380_print_options (struct Scsi_Host *instance)
+__initfunc(static void NCR5380_print_options (struct Scsi_Host *instance))
 {
     printk(" generic options"
 #ifdef AUTOSENSE 
@@ -848,7 +848,7 @@
  * 
  */
 
-static void NCR5380_init (struct Scsi_Host *instance, int flags)
+__initfunc(static void NCR5380_init (struct Scsi_Host *instance, int flags))
 {
     int i;
     SETUP_HOSTDATA(instance);

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