summaryrefslogtreecommitdiff
path: root/drivers/scsi/NCR5380.c
diff options
context:
space:
mode:
authorFinn Thain <fthain@telegraphics.com.au>2016-01-03 16:05:07 +1100
committerMartin K. Petersen <martin.petersen@oracle.com>2016-01-06 21:42:52 -0500
commitb01ec34895720348dab7eae6bfb28a5799130bce (patch)
treec1460abea2dad4371d9bae6318765b820583afff /drivers/scsi/NCR5380.c
parent54d8fe4425c9d3fdf8473c1833c6807b61c6e70e (diff)
downloadlwn-b01ec34895720348dab7eae6bfb28a5799130bce.tar.gz
lwn-b01ec34895720348dab7eae6bfb28a5799130bce.zip
ncr5380: Remove NCR5380_instance_name macro
This macro makes the code cryptic. Remove it. Signed-off-by: Finn Thain <fthain@telegraphics.com.au> Reviewed-by: Hannes Reinecke <hare@suse.com> Tested-by: Ondrej Zary <linux@rainbow-software.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/NCR5380.c')
-rw-r--r--drivers/scsi/NCR5380.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/NCR5380.c b/drivers/scsi/NCR5380.c
index e4cd85e1ea5b..78d7858c4404 100644
--- a/drivers/scsi/NCR5380.c
+++ b/drivers/scsi/NCR5380.c
@@ -790,7 +790,7 @@ static int NCR5380_init(struct Scsi_Host *instance, int flags)
#ifdef NCR53C400
if (flags & FLAG_NCR53C400)
- instance->NCR5380_instance_name += NCR53C400_address_adjust;
+ instance->io_port += NCR53C400_address_adjust;
#endif
hostdata->aborted = 0;