summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/NCR5380.c
diff options
context:
space:
mode:
authorFinn Thain <fthain@telegraphics.com.au>2016-01-03 06:05:07 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2016-01-07 03:42:52 +0100
commitb01ec34895720348dab7eae6bfb28a5799130bce (patch)
treec1460abea2dad4371d9bae6318765b820583afff /drivers/scsi/NCR5380.c
parentncr5380: Remove NCR5380_local_declare and NCR5380_setup macros (diff)
downloadlinux-b01ec34895720348dab7eae6bfb28a5799130bce.tar.xz
linux-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;