summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/aha1542.h
diff options
context:
space:
mode:
authorOndrej Zary <linux@rainbow-software.org>2015-02-06 23:11:40 +0100
committerJames Bottomley <JBottomley@Odin.com>2015-04-09 18:08:00 -0700
commit3a70c006edbe6071bd78e1e0c8004791cd4b531c (patch)
treeafedc0e46453ffdc5861156f5c06859495065c8e /drivers/scsi/aha1542.h
parent23e6940a9ecfc6477fb1216cad062e2fa12ea98f (diff)
downloadlinux-3a70c006edbe6071bd78e1e0c8004791cd4b531c.tar.gz
linux-3a70c006edbe6071bd78e1e0c8004791cd4b531c.tar.bz2
linux-3a70c006edbe6071bd78e1e0c8004791cd4b531c.zip
aha1542: rework hw_init
Cleanup hw_init, use goto for error handling. Signed-off-by: Ondrej Zary <linux@rainbow-software.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: James Bottomley <JBottomley@Odin.com>
Diffstat (limited to 'drivers/scsi/aha1542.h')
-rw-r--r--drivers/scsi/aha1542.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/aha1542.h b/drivers/scsi/aha1542.h
index 1333a23c1e09..f58792b085a2 100644
--- a/drivers/scsi/aha1542.h
+++ b/drivers/scsi/aha1542.h
@@ -126,6 +126,7 @@ struct ccb { /* Command Control Block 5.3 */
/* REQUEST SENSE */
};
+#define AHA1542_REGION_SIZE 4
#define AHA1542_MAILBOXES 8
#endif