diff options
Diffstat (limited to 'drivers/scsi/NCR53C9x.c')
-rw-r--r-- | drivers/scsi/NCR53C9x.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/scsi/NCR53C9x.c b/drivers/scsi/NCR53C9x.c index 117d9747c493..640590bd014a 100644 --- a/drivers/scsi/NCR53C9x.c +++ b/drivers/scsi/NCR53C9x.c | |||
@@ -1006,7 +1006,7 @@ static void esp_exec_cmd(struct NCR_ESP *esp) | |||
1006 | struct ESP_regs *eregs = esp->eregs; | 1006 | struct ESP_regs *eregs = esp->eregs; |
1007 | struct esp_device *esp_dev; | 1007 | struct esp_device *esp_dev; |
1008 | Scsi_Cmnd *SCptr; | 1008 | Scsi_Cmnd *SCptr; |
1009 | Scsi_Device *SDptr; | 1009 | struct scsi_device *SDptr; |
1010 | volatile unchar *cmdp = esp->esp_command; | 1010 | volatile unchar *cmdp = esp->esp_command; |
1011 | unsigned char the_esp_command; | 1011 | unsigned char the_esp_command; |
1012 | int lun, target; | 1012 | int lun, target; |
@@ -1687,7 +1687,7 @@ static inline int reconnect_lun(struct NCR_ESP *esp, struct ESP_regs *eregs) | |||
1687 | static inline void esp_connect(struct NCR_ESP *esp, struct ESP_regs *eregs, | 1687 | static inline void esp_connect(struct NCR_ESP *esp, struct ESP_regs *eregs, |
1688 | Scsi_Cmnd *sp) | 1688 | Scsi_Cmnd *sp) |
1689 | { | 1689 | { |
1690 | Scsi_Device *dp = sp->device; | 1690 | struct scsi_device *dp = sp->device; |
1691 | struct esp_device *esp_dev = dp->hostdata; | 1691 | struct esp_device *esp_dev = dp->hostdata; |
1692 | 1692 | ||
1693 | if(esp->prev_soff != esp_dev->sync_max_offset || | 1693 | if(esp->prev_soff != esp_dev->sync_max_offset || |
@@ -3605,7 +3605,7 @@ out: | |||
3605 | } | 3605 | } |
3606 | #endif | 3606 | #endif |
3607 | 3607 | ||
3608 | int esp_slave_alloc(Scsi_Device *SDptr) | 3608 | int esp_slave_alloc(struct scsi_device *SDptr) |
3609 | { | 3609 | { |
3610 | struct esp_device *esp_dev = | 3610 | struct esp_device *esp_dev = |
3611 | kmalloc(sizeof(struct esp_device), GFP_ATOMIC); | 3611 | kmalloc(sizeof(struct esp_device), GFP_ATOMIC); |
@@ -3617,7 +3617,7 @@ int esp_slave_alloc(Scsi_Device *SDptr) | |||
3617 | return 0; | 3617 | return 0; |
3618 | } | 3618 | } |
3619 | 3619 | ||
3620 | void esp_slave_destroy(Scsi_Device *SDptr) | 3620 | void esp_slave_destroy(struct scsi_device *SDptr) |
3621 | { | 3621 | { |
3622 | struct NCR_ESP *esp = (struct NCR_ESP *) SDptr->host->hostdata; | 3622 | struct NCR_ESP *esp = (struct NCR_ESP *) SDptr->host->hostdata; |
3623 | 3623 | ||