summaryrefslogtreecommitdiff
path: root/drivers/scsi/isci/phy.c
diff options
context:
space:
mode:
authorMaciej Patelczyk <maciej.patelczyk@intel.com>2011-04-28 22:06:11 +0000
committerDan Williams <dan.j.williams@intel.com>2011-07-03 04:00:38 -0700
commite1e72a00dd9db0cd2b7d106916645626f53c0382 (patch)
treebd10e14596426f86f8ff3789e7fa2b2a4a4ccca5 /drivers/scsi/isci/phy.c
parentd3757c3aeb75259e0b86a872e98841a2ea4cb5e8 (diff)
isci: Removed sci_base_object from scic_sds_phy.
The 'struct sci_base_object' was removed from the struct scic_sds_phy and was replaced by a pointer to struct isci_phy. Signed-off-by: Maciej Patelczyk <maciej.patelczyk@intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/scsi/isci/phy.c')
-rw-r--r--drivers/scsi/isci/phy.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/isci/phy.c b/drivers/scsi/isci/phy.c
index 9e081a4c8a3c..a690b6b664f7 100644
--- a/drivers/scsi/isci/phy.c
+++ b/drivers/scsi/isci/phy.c
@@ -57,6 +57,7 @@
#include "phy.h"
#include "scic_port.h"
#include "scic_config_parameters.h"
+#include "core/scic_sds_phy.h"
struct scic_sds_phy;
extern enum sci_status scic_sds_phy_start(struct scic_sds_phy *sci_phy);
@@ -88,8 +89,8 @@ void isci_phy_init(
status = scic_controller_get_phy_handle(scic, index, &scic_phy);
if (status == SCI_SUCCESS) {
- sci_object_set_association(scic_phy, (void *)phy);
phy->sci_phy_handle = scic_phy;
+ scic_phy->iphy = phy;
} else
dev_err(&isci_host->pdev->dev,
"failed scic_controller_get_phy_handle\n");