diff options
author | Johannes Thumshirn <jthumshirn@suse.de> | 2018-06-13 09:53:47 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-06-20 04:02:25 +0200 |
commit | 91ebc1facd7797d799a4c9208cb7fdc8d86e0bb4 (patch) | |
tree | 4f1ce9623e8db1182aeb82308a79337b6c0b32bc /drivers/scsi/aha1740.h | |
parent | scsi: bnx2i: add error handling for ioremap_nocache (diff) | |
download | linux-91ebc1facd7797d799a4c9208cb7fdc8d86e0bb4.tar.xz linux-91ebc1facd7797d799a4c9208cb7fdc8d86e0bb4.zip |
scsi: core: remove Scsi_Cmnd typedef
This will make subsequent refactoring easier to handle.
Note: this patch is nowhere checkpatch clean.
Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Bart Van Assche <bart.vanassche@wdc.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/aha1740.h')
-rw-r--r-- | drivers/scsi/aha1740.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/aha1740.h b/drivers/scsi/aha1740.h index dfdaa4d3ea4e..6eeed6da0b54 100644 --- a/drivers/scsi/aha1740.h +++ b/drivers/scsi/aha1740.h @@ -135,8 +135,8 @@ struct ecb { /* Enhanced Control Block 6.1 */ /* Hardware defined portion ends here, rest is driver defined */ u8 sense[MAX_SENSE]; /* Sense area */ u8 status[MAX_STATUS]; /* Status area */ - Scsi_Cmnd *SCpnt; /* Link to the SCSI Command Block */ - void (*done) (Scsi_Cmnd *); /* Completion Function */ + struct scsi_cmnd *SCpnt; /* Link to the SCSI Command Block */ + void (*done) (struct scsi_cmnd *); /* Completion Function */ }; #define AHA1740CMD_NOP 0x00 /* No OP */ |