diff options
author | Piotr Sawicki <piotr.sawicki@intel.com> | 2011-05-11 23:52:31 +0000 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2011-07-03 04:04:49 -0700 |
commit | 8bc80d303063d9540493be623df1c9a8dee9ccb8 (patch) | |
tree | d19b14ebb64cc8e6afb05fbaeb1e3626494728f4 /drivers/scsi/isci/port.h | |
parent | d76f71d988ef48384593ad97ebc762d9257d96a8 (diff) |
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.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/scsi/isci/port.h b/drivers/scsi/isci/port.h index 2ad205100f2..843eb62a309 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, |