aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/jazz_esp.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/jazz_esp.c')
-rw-r--r--drivers/scsi/jazz_esp.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/scsi/jazz_esp.c b/drivers/scsi/jazz_esp.c
index ee8735153dc3..a07e930a9c04 100644
--- a/drivers/scsi/jazz_esp.c
+++ b/drivers/scsi/jazz_esp.c
@@ -95,7 +95,7 @@ static int jazz_esp_detect(struct scsi_host_template *tpnt)
95 * first assumption it is there:-) 95 * first assumption it is there:-)
96 */ 96 */
97 if (1) { 97 if (1) {
98 esp_dev = 0; 98 esp_dev = NULL;
99 esp = esp_allocate(tpnt, (void *) esp_dev); 99 esp = esp_allocate(tpnt, (void *) esp_dev);
100 100
101 /* Do command transfer with programmed I/O */ 101 /* Do command transfer with programmed I/O */
@@ -114,13 +114,13 @@ static int jazz_esp_detect(struct scsi_host_template *tpnt)
114 esp->dma_setup = &dma_setup; 114 esp->dma_setup = &dma_setup;
115 115
116 /* Optional functions */ 116 /* Optional functions */
117 esp->dma_barrier = 0; 117 esp->dma_barrier = NULL;
118 esp->dma_drain = 0; 118 esp->dma_drain = NULL;
119 esp->dma_invalidate = 0; 119 esp->dma_invalidate = NULL;
120 esp->dma_irq_entry = 0; 120 esp->dma_irq_entry = NULL;
121 esp->dma_irq_exit = 0; 121 esp->dma_irq_exit = NULL;
122 esp->dma_poll = 0; 122 esp->dma_poll = NULL;
123 esp->dma_reset = 0; 123 esp->dma_reset = NULL;
124 esp->dma_led_off = &dma_led_off; 124 esp->dma_led_off = &dma_led_off;
125 esp->dma_led_on = &dma_led_on; 125 esp->dma_led_on = &dma_led_on;
126 126
@@ -140,7 +140,7 @@ static int jazz_esp_detect(struct scsi_host_template *tpnt)
140 * of DMA channel, so we can use the jazz DMA functions 140 * of DMA channel, so we can use the jazz DMA functions
141 * 141 *
142 */ 142 */
143 esp->dregs = JAZZ_SCSI_DMA; 143 esp->dregs = (void *) JAZZ_SCSI_DMA;
144 144
145 /* ESP register base */ 145 /* ESP register base */
146 esp->eregs = (struct ESP_regs *)(JAZZ_SCSI_BASE); 146 esp->eregs = (struct ESP_regs *)(JAZZ_SCSI_BASE);