diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2012-06-27 11:10:06 +0200 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2012-07-03 21:09:31 +0200 |
commit | 67787c330762eb884bf8c169fe942263d55ec162 (patch) | |
tree | 5bc9d5594087ffb9831ed7c0977cf767d8bea33a /drivers/scsi/isci | |
parent | isci: fix COMSAS negation timout workaround for WD SAS drives (diff) | |
download | linux-67787c330762eb884bf8c169fe942263d55ec162.tar.xz linux-67787c330762eb884bf8c169fe942263d55ec162.zip |
isci: make function declaration match implementation
Sparse complains that we redeclare this with a different type, because
in the .c file we use an enum and in the .h file we declare the
parameter as a u32. Probably it's best to use an enum in both places.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/scsi/isci')
-rw-r--r-- | drivers/scsi/isci/remote_node_context.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/isci/remote_node_context.h b/drivers/scsi/isci/remote_node_context.h index a703b9ce0c2c..c7ee81d01125 100644 --- a/drivers/scsi/isci/remote_node_context.h +++ b/drivers/scsi/isci/remote_node_context.h @@ -212,7 +212,7 @@ enum sci_status sci_remote_node_context_destruct(struct sci_remote_node_context scics_sds_remote_node_context_callback callback, void *callback_parameter); enum sci_status sci_remote_node_context_suspend(struct sci_remote_node_context *sci_rnc, - u32 suspend_type, + enum sci_remote_node_suspension_reasons reason, u32 suspension_code); enum sci_status sci_remote_node_context_resume(struct sci_remote_node_context *sci_rnc, scics_sds_remote_node_context_callback cb_fn, |