diff options
Diffstat (limited to 'drivers/scsi/isci/host.h')
-rw-r--r-- | drivers/scsi/isci/host.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/drivers/scsi/isci/host.h b/drivers/scsi/isci/host.h index 1edd13535c24..fb8048e5fce7 100644 --- a/drivers/scsi/isci/host.h +++ b/drivers/scsi/isci/host.h | |||
@@ -108,7 +108,7 @@ struct scic_power_control { | |||
108 | struct scic_sds_port_configuration_agent; | 108 | struct scic_sds_port_configuration_agent; |
109 | typedef void (*port_config_fn)(struct scic_sds_controller *, | 109 | typedef void (*port_config_fn)(struct scic_sds_controller *, |
110 | struct scic_sds_port_configuration_agent *, | 110 | struct scic_sds_port_configuration_agent *, |
111 | struct scic_sds_port *, struct isci_phy *); | 111 | struct isci_port *, struct isci_phy *); |
112 | 112 | ||
113 | struct scic_sds_port_configuration_agent { | 113 | struct scic_sds_port_configuration_agent { |
114 | u16 phy_configured_mask; | 114 | u16 phy_configured_mask; |
@@ -532,9 +532,8 @@ static inline struct device *sciphy_to_dev(struct isci_phy *iphy) | |||
532 | return &iphy->isci_port->isci_host->pdev->dev; | 532 | return &iphy->isci_port->isci_host->pdev->dev; |
533 | } | 533 | } |
534 | 534 | ||
535 | static inline struct device *sciport_to_dev(struct scic_sds_port *sci_port) | 535 | static inline struct device *sciport_to_dev(struct isci_port *iport) |
536 | { | 536 | { |
537 | struct isci_port *iport = sci_port_to_iport(sci_port); | ||
538 | 537 | ||
539 | if (!iport || !iport->isci_host) | 538 | if (!iport || !iport->isci_host) |
540 | return NULL; | 539 | return NULL; |
@@ -613,12 +612,12 @@ void scic_sds_controller_power_control_queue_remove( | |||
613 | 612 | ||
614 | void scic_sds_controller_link_up( | 613 | void scic_sds_controller_link_up( |
615 | struct scic_sds_controller *scic, | 614 | struct scic_sds_controller *scic, |
616 | struct scic_sds_port *sci_port, | 615 | struct isci_port *iport, |
617 | struct isci_phy *iphy); | 616 | struct isci_phy *iphy); |
618 | 617 | ||
619 | void scic_sds_controller_link_down( | 618 | void scic_sds_controller_link_down( |
620 | struct scic_sds_controller *scic, | 619 | struct scic_sds_controller *scic, |
621 | struct scic_sds_port *sci_port, | 620 | struct isci_port *iport, |
622 | struct isci_phy *iphy); | 621 | struct isci_phy *iphy); |
623 | 622 | ||
624 | void scic_sds_controller_remote_device_stopped( | 623 | void scic_sds_controller_remote_device_stopped( |
@@ -649,7 +648,7 @@ void isci_host_deinit( | |||
649 | 648 | ||
650 | void isci_host_port_link_up( | 649 | void isci_host_port_link_up( |
651 | struct isci_host *, | 650 | struct isci_host *, |
652 | struct scic_sds_port *, | 651 | struct isci_port *, |
653 | struct isci_phy *); | 652 | struct isci_phy *); |
654 | int isci_host_dev_found(struct domain_device *); | 653 | int isci_host_dev_found(struct domain_device *); |
655 | 654 | ||