summaryrefslogtreecommitdiff
path: root/drivers/scsi/gvp11.c
diff options
context:
space:
mode:
authorJames Bottomley <James.Bottomley@HansenPartnership.com>2008-03-31 22:06:50 -0500
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-04-07 12:19:07 -0500
commita579dab1c19104fe82e864513cb17c6803dd7840 (patch)
treea71f6b75da88c027937bca3afe2ef97990e1eaaa /drivers/scsi/gvp11.c
parent8dea0d02f8bb7103ec0818bd2e856f30f2d1bcf1 (diff)
downloadlinux-3.10-a579dab1c19104fe82e864513cb17c6803dd7840.tar.gz
linux-3.10-a579dab1c19104fe82e864513cb17c6803dd7840.tar.bz2
linux-3.10-a579dab1c19104fe82e864513cb17c6803dd7840.zip
[SCSI] wd33c93: fix up cut and paste error
The three drivers: a2091, gvp11 and mvme147 have erroneous references to a3000_host. Fix these to be references to the proper host variable. Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/gvp11.c')
-rw-r--r--drivers/scsi/gvp11.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/gvp11.c b/drivers/scsi/gvp11.c
index e75a7ba57a3..ca736375240 100644
--- a/drivers/scsi/gvp11.c
+++ b/drivers/scsi/gvp11.c
@@ -322,9 +322,9 @@ int __init gvp11_detect(struct scsi_host_template *tpnt)
*/
regs.SASR = &(DMA(instance)->SASR);
regs.SCMD = &(DMA(instance)->SCMD);
- HDATA(a3000_host)->no_sync = 0xff;
- HDATA(a3000_host)->fast = 0;
- HDATA(a3000_host)->dma_mode = CTRL_DMA;
+ HDATA(instance)->no_sync = 0xff;
+ HDATA(instance)->fast = 0;
+ HDATA(instance)->dma_mode = CTRL_DMA;
wd33c93_init(instance, regs, dma_setup, dma_stop,
(epc & GVP_SCSICLKMASK) ? WD33C93_FS_8_10
: WD33C93_FS_12_15);