diff --git a/drivers/scsi/qlogicpti.c b/drivers/scsi/qlogicpti.c index 274ee1ccfea8d40c8c86cf8411e7a739cabbd8e4..cec9a14982e6a3720afaf18633a8f39314a0c1e0 100644 --- a/drivers/scsi/qlogicpti.c +++ b/drivers/scsi/qlogicpti.c @@ -1250,9 +1250,10 @@ static int qlogicpti_abort(struct scsi_cmnd *Cmnd) return return_status; } -static int qlogicpti_reset(struct Scsi_Host *host) +static int qlogicpti_reset(struct scsi_cmnd *Cmnd) { u_short param[6]; + struct Scsi_Host *host = Cmnd->device->host; struct qlogicpti *qpti = (struct qlogicpti *) host->hostdata; int return_status = SUCCESS;