diff options
author | Bart Van Assche <bart.vanassche@sandisk.com> | 2015-07-09 07:23:02 -0700 |
---|---|---|
committer | James Bottomley <JBottomley@Odin.com> | 2015-08-26 10:34:20 -0700 |
commit | 2374dd238c287fb7a370b53aad2dbc4c8f0c241c (patch) | |
tree | f8e0574eff1fd4d63a9b311c4db9b52805175886 /drivers/scsi/qla2xxx/qla_nx2.c | |
parent | c3ff356d08275960b4a36471a81d5b2685a4074e (diff) | |
download | talos-obmc-linux-2374dd238c287fb7a370b53aad2dbc4c8f0c241c.tar.gz talos-obmc-linux-2374dd238c287fb7a370b53aad2dbc4c8f0c241c.zip |
qla2xxx: Declare local functions static
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Acked-by: Himanshu Madhani <himanshu.madhani@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_nx2.c')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_nx2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/qla2xxx/qla_nx2.c b/drivers/scsi/qla2xxx/qla_nx2.c index 000c57e4d033..e06c851147d0 100644 --- a/drivers/scsi/qla2xxx/qla_nx2.c +++ b/drivers/scsi/qla2xxx/qla_nx2.c @@ -561,7 +561,7 @@ qla8044_read_optrom_data(struct scsi_qla_host *vha, uint8_t *buf, return buf; } -inline int +static inline int qla8044_need_reset(struct scsi_qla_host *vha) { uint32_t drv_state, drv_active; @@ -1605,7 +1605,7 @@ qla8044_set_idc_dontreset(struct scsi_qla_host *vha) qla8044_wr_reg(ha, QLA8044_IDC_DRV_CTRL, idc_ctrl); } -inline void +static inline void qla8044_set_rst_ready(struct scsi_qla_host *vha) { uint32_t drv_state; |