aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_target.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_target.c')
-rw-r--r--drivers/scsi/qla2xxx/qla_target.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/scsi/qla2xxx/qla_target.c b/drivers/scsi/qla2xxx/qla_target.c
index 577058e4537f..c22b1c141fec 100644
--- a/drivers/scsi/qla2xxx/qla_target.c
+++ b/drivers/scsi/qla2xxx/qla_target.c
@@ -101,6 +101,7 @@ static void qlt_send_term_exchange(struct scsi_qla_host *ha, struct qla_tgt_cmd
101 *cmd, struct atio_from_isp *atio, int ha_locked); 101 *cmd, struct atio_from_isp *atio, int ha_locked);
102static void qlt_reject_free_srr_imm(struct scsi_qla_host *ha, 102static void qlt_reject_free_srr_imm(struct scsi_qla_host *ha,
103 struct qla_tgt_srr_imm *imm, int ha_lock); 103 struct qla_tgt_srr_imm *imm, int ha_lock);
104static void qlt_disable_vha(struct scsi_qla_host *vha);
104/* 105/*
105 * Global Variables 106 * Global Variables
106 */ 107 */
@@ -178,7 +179,7 @@ struct scsi_qla_host *qlt_find_host_by_vp_idx(struct scsi_qla_host *vha,
178 return NULL; 179 return NULL;
179} 180}
180 181
181void qlt_24xx_atio_pkt_all_vps(struct scsi_qla_host *vha, 182static void qlt_24xx_atio_pkt_all_vps(struct scsi_qla_host *vha,
182 struct atio_from_isp *atio) 183 struct atio_from_isp *atio)
183{ 184{
184 ql_dbg(ql_dbg_tgt, vha, 0xe072, 185 ql_dbg(ql_dbg_tgt, vha, 0xe072,
@@ -5024,7 +5025,7 @@ void qlt_lport_deregister(struct scsi_qla_host *vha)
5024EXPORT_SYMBOL(qlt_lport_deregister); 5025EXPORT_SYMBOL(qlt_lport_deregister);
5025 5026
5026/* Must be called under HW lock */ 5027/* Must be called under HW lock */
5027void qlt_set_mode(struct scsi_qla_host *vha) 5028static void qlt_set_mode(struct scsi_qla_host *vha)
5028{ 5029{
5029 struct qla_hw_data *ha = vha->hw; 5030 struct qla_hw_data *ha = vha->hw;
5030 5031
@@ -5045,7 +5046,7 @@ void qlt_set_mode(struct scsi_qla_host *vha)
5045} 5046}
5046 5047
5047/* Must be called under HW lock */ 5048/* Must be called under HW lock */
5048void qlt_clear_mode(struct scsi_qla_host *vha) 5049static void qlt_clear_mode(struct scsi_qla_host *vha)
5049{ 5050{
5050 struct qla_hw_data *ha = vha->hw; 5051 struct qla_hw_data *ha = vha->hw;
5051 5052
@@ -5109,8 +5110,7 @@ EXPORT_SYMBOL(qlt_enable_vha);
5109 * 5110 *
5110 * Disable Target Mode and reset the adapter 5111 * Disable Target Mode and reset the adapter
5111 */ 5112 */
5112void 5113static void qlt_disable_vha(struct scsi_qla_host *vha)
5113qlt_disable_vha(struct scsi_qla_host *vha)
5114{ 5114{
5115 struct qla_hw_data *ha = vha->hw; 5115 struct qla_hw_data *ha = vha->hw;
5116 struct qla_tgt *tgt = vha->vha_tgt.qla_tgt; 5116 struct qla_tgt *tgt = vha->vha_tgt.qla_tgt;