diff options
Diffstat (limited to 'drivers/scsi/wd33c93.h')
| -rw-r--r-- | drivers/scsi/wd33c93.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/scsi/wd33c93.h b/drivers/scsi/wd33c93.h index 2edec34c5a42..e5e4254b1477 100644 --- a/drivers/scsi/wd33c93.h +++ b/drivers/scsi/wd33c93.h @@ -180,13 +180,8 @@ /* This is what the 3393 chip looks like to us */ typedef struct { -#ifdef CONFIG_WD33C93_PIO - unsigned int SASR; - unsigned int SCMD; -#else volatile unsigned char *SASR; volatile unsigned char *SCMD; -#endif } wd33c93_regs; @@ -262,6 +257,10 @@ struct WD33C93_hostdata { #endif }; +static inline struct scsi_pointer *WD33C93_scsi_pointer(struct scsi_cmnd *cmd) +{ + return scsi_cmd_priv(cmd); +} /* defines for hostdata->chip */ |
