diff options
Diffstat (limited to 'drivers/net/wireless/ath/ath5k/ath5k.h')
-rw-r--r-- | drivers/net/wireless/ath/ath5k/ath5k.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath5k/ath5k.h b/drivers/net/wireless/ath/ath5k/ath5k.h index c2b2518c2ec..6640326f700 100644 --- a/drivers/net/wireless/ath/ath5k/ath5k.h +++ b/drivers/net/wireless/ath/ath5k/ath5k.h | |||
@@ -1656,12 +1656,12 @@ static inline void __iomem *ath5k_ahb_reg(struct ath5k_hw *ah, u16 reg) | |||
1656 | 1656 | ||
1657 | static inline u32 ath5k_hw_reg_read(struct ath5k_hw *ah, u16 reg) | 1657 | static inline u32 ath5k_hw_reg_read(struct ath5k_hw *ah, u16 reg) |
1658 | { | 1658 | { |
1659 | return __raw_readl(ath5k_ahb_reg(ah, reg)); | 1659 | return ioread32(ath5k_ahb_reg(ah, reg)); |
1660 | } | 1660 | } |
1661 | 1661 | ||
1662 | static inline void ath5k_hw_reg_write(struct ath5k_hw *ah, u32 val, u16 reg) | 1662 | static inline void ath5k_hw_reg_write(struct ath5k_hw *ah, u32 val, u16 reg) |
1663 | { | 1663 | { |
1664 | __raw_writel(val, ath5k_ahb_reg(ah, reg)); | 1664 | iowrite32(val, ath5k_ahb_reg(ah, reg)); |
1665 | } | 1665 | } |
1666 | 1666 | ||
1667 | #else | 1667 | #else |