summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorflyingnosky <flyingnosky@163.com>2015-11-04 15:31:29 +0800
committerflyingnosky <flyingnosky@163.com>2015-11-06 10:02:26 +0800
commit6304a9d371b9fdaf453cbe2d3cbb93a9df001aa9 (patch)
tree7e8c7e81a0aa5811a2c65a21b1e2ae22cf285a1c
parent0491d5569066ae6ae21544bd5774f80c29e33a3c (diff)
HISI_SAS:fix compile error when enable SAS_12G
modify the name of function serdes_lane_reset to function serdes_lane_reset_v1_hw the name of function phy_rx_eye_diag_done to function phy_rx_eye_diag_done_v1_hw Signed-off-by: chenxiang <chenxiang66@hisilicon.com>
-rw-r--r--drivers/scsi/hisi_sas/hisi_sas_v1_hw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/hisi_sas/hisi_sas_v1_hw.c b/drivers/scsi/hisi_sas/hisi_sas_v1_hw.c
index e01320e9089f..fa10d378739c 100644
--- a/drivers/scsi/hisi_sas/hisi_sas_v1_hw.c
+++ b/drivers/scsi/hisi_sas/hisi_sas_v1_hw.c
@@ -1934,7 +1934,7 @@ static irqreturn_t int_abnormal_v1_hw(int phy_no, void *p)
phy_no,
(phy_state & 1 << phy_no) ? 1 : 0);
#ifdef SAS_12G
- serdes_lane_reset(hisi_hba, phy_no);
+ serdes_lane_reset_v1_hw(hisi_hba, phy_no);
phy->eye_diag_done = 0;
if (timer_pending(timer))
del_timer(timer);
@@ -1993,7 +1993,7 @@ static irqreturn_t int_int1_v1_hw(int phy_no, void *p)
struct hisi_sas_phy *phy = &hisi_hba->phy[phy_no];
if (!phy->eye_diag_done) {
- phy_rx_eye_diag_done(hisi_hba, phy_no);
+ phy_rx_eye_diag_done_v1_hw(hisi_hba, phy_no);
phy->eye_diag_done = 1;
}
#endif