patch-2.4.21 linux-2.4.21/drivers/scsi/blz1230.c

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

diff -urN linux-2.4.20/drivers/scsi/blz1230.c linux-2.4.21/drivers/scsi/blz1230.c
@@ -131,8 +131,8 @@
 		esp->eregs = eregs;
 
 		/* Set the command buffer */
-		esp->esp_command = (volatile unsigned char*) cmd_buffer;
-		esp->esp_command_dvma = virt_to_bus(cmd_buffer);
+		esp->esp_command = cmd_buffer;
+		esp->esp_command_dvma = virt_to_bus((void *)cmd_buffer);
 
 		esp->irq = IRQ_AMIGA_PORTS;
 		esp->slot = board+REAL_BLZ1230_ESP_ADDR;

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