diff options
author | Henrik Kretzschmar <henne@nachtwindheim.de> | 2006-09-12 17:49:33 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-09-12 18:12:31 -0400 |
commit | 65396410af63db90d6428c678ff84aa652c3c1ec (patch) | |
tree | 78c610b8dbfda4b583cb4a5b950bf4149738113c /drivers/scsi/a2091.c | |
parent | a506b44bb5000b2652490a906c3e58beb2a8f6bb (diff) |
[SCSI] wd33c93: Scsi_Cmnd convertion
Changes obsolete typedef'd Scsi_Cmnd to struct scsi_cmnd.
Signed-off-by: Henrik Kretzschmar <henne@nachtwindheim.de>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/a2091.c')
-rw-r--r-- | drivers/scsi/a2091.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/a2091.c b/drivers/scsi/a2091.c index fddfa2ebcd70..085406928605 100644 --- a/drivers/scsi/a2091.c +++ b/drivers/scsi/a2091.c | |||
@@ -40,7 +40,7 @@ static irqreturn_t a2091_intr (int irq, void *_instance, struct pt_regs *fp) | |||
40 | return IRQ_HANDLED; | 40 | return IRQ_HANDLED; |
41 | } | 41 | } |
42 | 42 | ||
43 | static int dma_setup (Scsi_Cmnd *cmd, int dir_in) | 43 | static int dma_setup(struct scsi_cmnd *cmd, int dir_in) |
44 | { | 44 | { |
45 | unsigned short cntr = CNTR_PDMD | CNTR_INTEN; | 45 | unsigned short cntr = CNTR_PDMD | CNTR_INTEN; |
46 | unsigned long addr = virt_to_bus(cmd->SCp.ptr); | 46 | unsigned long addr = virt_to_bus(cmd->SCp.ptr); |
@@ -115,7 +115,7 @@ static int dma_setup (Scsi_Cmnd *cmd, int dir_in) | |||
115 | return 0; | 115 | return 0; |
116 | } | 116 | } |
117 | 117 | ||
118 | static void dma_stop (struct Scsi_Host *instance, Scsi_Cmnd *SCpnt, | 118 | static void dma_stop(struct Scsi_Host *instance, struct scsi_cmnd *SCpnt, |
119 | int status) | 119 | int status) |
120 | { | 120 | { |
121 | /* disable SCSI interrupts */ | 121 | /* disable SCSI interrupts */ |
@@ -217,7 +217,7 @@ int __init a2091_detect(struct scsi_host_template *tpnt) | |||
217 | return num_a2091; | 217 | return num_a2091; |
218 | } | 218 | } |
219 | 219 | ||
220 | static int a2091_bus_reset(Scsi_Cmnd *cmd) | 220 | static int a2091_bus_reset(struct scsi_cmnd *cmd) |
221 | { | 221 | { |
222 | /* FIXME perform bus-specific reset */ | 222 | /* FIXME perform bus-specific reset */ |
223 | 223 | ||