summaryrefslogtreecommitdiff
path: root/drivers/scsi/mesh.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/mesh.h')
-rw-r--r--drivers/scsi/mesh.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/scsi/mesh.h b/drivers/scsi/mesh.h
index ee53c05ace95..f70181acceac 100644
--- a/drivers/scsi/mesh.h
+++ b/drivers/scsi/mesh.h
@@ -8,6 +8,17 @@
#ifndef _MESH_H
#define _MESH_H
+struct mesh_cmd_priv {
+ int this_residual;
+ int message;
+ int status;
+};
+
+static inline struct mesh_cmd_priv *mesh_priv(struct scsi_cmnd *cmd)
+{
+ return scsi_cmd_priv(cmd);
+}
+
/*
* Registers in the MESH controller.
*/