aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2019-02-22 12:19:22 -0500
committerWill Deacon <will.deacon@arm.com>2019-04-08 07:09:15 -0400
commit1b8546d7e23872c77d0ef6a4c311ac7037380c24 (patch)
tree81395e874e0e8f5b4c0a9a41093c8afb70eae0bf
parent161861a4c8279f136e5419deb95c58176af83e48 (diff)
i40iw: Redefine i40iw_mmiowb() to do nothing
mmiowb() is now implicit in spin_unlock(), so there's no reason to call it from driver code. Redefine i40iw_mmiowb() to do nothing instead. Acked-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Will Deacon <will.deacon@arm.com>
-rw-r--r--drivers/infiniband/hw/i40iw/i40iw_osdep.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/i40iw/i40iw_osdep.h b/drivers/infiniband/hw/i40iw/i40iw_osdep.h
index f27be3e7830b..d474aad62a81 100644
--- a/drivers/infiniband/hw/i40iw/i40iw_osdep.h
+++ b/drivers/infiniband/hw/i40iw/i40iw_osdep.h
@@ -211,7 +211,7 @@ enum i40iw_status_code i40iw_hw_manage_vf_pble_bp(struct i40iw_device *iwdev,
211struct i40iw_sc_vsi; 211struct i40iw_sc_vsi;
212void i40iw_hw_stats_start_timer(struct i40iw_sc_vsi *vsi); 212void i40iw_hw_stats_start_timer(struct i40iw_sc_vsi *vsi);
213void i40iw_hw_stats_stop_timer(struct i40iw_sc_vsi *vsi); 213void i40iw_hw_stats_stop_timer(struct i40iw_sc_vsi *vsi);
214#define i40iw_mmiowb() mmiowb() 214#define i40iw_mmiowb() do { } while (0)
215void i40iw_wr32(struct i40iw_hw *hw, u32 reg, u32 value); 215void i40iw_wr32(struct i40iw_hw *hw, u32 reg, u32 value);
216u32 i40iw_rd32(struct i40iw_hw *hw, u32 reg); 216u32 i40iw_rd32(struct i40iw_hw *hw, u32 reg);
217#endif /* _I40IW_OSDEP_H_ */ 217#endif /* _I40IW_OSDEP_H_ */