summaryrefslogtreecommitdiff
path: root/drivers/scsi/isci/port.h
diff options
context:
space:
mode:
authorPiotr Sawicki <piotr.sawicki@intel.com>2011-05-12 03:52:31 +0400
committerDan Williams <dan.j.williams@intel.com>2011-07-03 15:04:49 +0400
commit8bc80d303063d9540493be623df1c9a8dee9ccb8 (patch)
treed19b14ebb64cc8e6afb05fbaeb1e3626494728f4 /drivers/scsi/isci/port.h
parentd76f71d988ef48384593ad97ebc762d9257d96a8 (diff)
downloadlinux-8bc80d303063d9540493be623df1c9a8dee9ccb8.tar.xz
isci: unify port stop handlers
Implement the stop handlers directly in scic_sds_port_stop() Reported-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Piotr Sawicki <piotr.sawicki@intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/scsi/isci/port.h')
-rw-r--r--drivers/scsi/isci/port.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/scsi/isci/port.h b/drivers/scsi/isci/port.h
index 2ad205100f25..843eb62a3090 100644
--- a/drivers/scsi/isci/port.h
+++ b/drivers/scsi/isci/port.h
@@ -313,12 +313,6 @@ typedef enum sci_status (*scic_sds_port_io_request_handler_t)(struct scic_sds_po
struct scic_sds_port_state_handler {
/**
- * The stop_handler specifies the method invoked when a user
- * attempts to stop a port.
- */
- scic_sds_port_handler_t stop_handler;
-
- /**
* The destruct_handler specifies the method invoked when attempting to
* destruct a port.
*/
@@ -412,6 +406,7 @@ enum sci_status scic_sds_port_initialize(
void __iomem *viit_registers);
enum sci_status scic_sds_port_start(struct scic_sds_port *sci_port);
+enum sci_status scic_sds_port_stop(struct scic_sds_port *sci_port);
enum sci_status scic_sds_port_add_phy(
struct scic_sds_port *sci_port,