patch-1.3.15 linux/drivers/scsi/aha152x.c

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

diff -u --recursive --new-file v1.3.14/linux/drivers/scsi/aha152x.c linux/drivers/scsi/aha152x.c
@@ -338,7 +338,7 @@
 void aha152x_setup( char *str, int *ints );
 
 static void aha152x_reset_ports(void);
-static void aha152x_panic(char *msg);
+static void aha152x_panic(const char *msg);
 
 static void disp_ports(void);
 static void show_command(Scsi_Cmnd *ptr);
@@ -2274,7 +2274,7 @@
 /* 
  * Dump the current driver status and panic...
  */
-static void aha152x_panic(char *msg)
+static void aha152x_panic(const char *msg)
 {
   printk("\naha152x_panic: %s\n", msg);
   show_queues();

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this