summaryrefslogtreecommitdiff
path: root/drivers/scsi/53c700.c
diff options
context:
space:
mode:
author <jejb@mulgrave.(none)>2005-04-03 03:57:48 -0600
committerJames Bottomley <jejb@titanic>2005-04-16 20:09:43 -0500
commit56fece20086ebe32bce2c0d74ceadd516b56baae (patch)
tree3ce88fad34483bfc393feb2ee5f3a7f4b8a17f0b /drivers/scsi/53c700.c
parente183b06bf0be6c525867476df186d20f8f1efe54 (diff)
downloadlinux-3.10-56fece20086ebe32bce2c0d74ceadd516b56baae.tar.gz
linux-3.10-56fece20086ebe32bce2c0d74ceadd516b56baae.tar.bz2
linux-3.10-56fece20086ebe32bce2c0d74ceadd516b56baae.zip
[PATCH] finally fix 53c700 to use the generic iomem infrastructure
This driver has had it's own different infrastructure for doing this for ages, but it's time it used the common one. Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/53c700.c')
-rw-r--r--drivers/scsi/53c700.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/scsi/53c700.c b/drivers/scsi/53c700.c
index a591fcb8aab..4b1bb529f67 100644
--- a/drivers/scsi/53c700.c
+++ b/drivers/scsi/53c700.c
@@ -389,8 +389,7 @@ NCR_700_detect(struct scsi_host_template *tpnt,
host->max_lun = NCR_700_MAX_LUNS;
BUG_ON(NCR_700_transport_template == NULL);
host->transportt = NCR_700_transport_template;
- host->unique_id = hostdata->base;
- host->base = hostdata->base;
+ host->unique_id = (unsigned long)hostdata->base;
hostdata->eh_complete = NULL;
host->hostdata[0] = (unsigned long)hostdata;
/* kick the chip */