diff options
Diffstat (limited to 'drivers/net/can')
-rw-r--r-- | drivers/net/can/at91_can.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/can/at91_can.c b/drivers/net/can/at91_can.c index ace9c087e75d..12bd6157efdd 100644 --- a/drivers/net/can/at91_can.c +++ b/drivers/net/can/at91_can.c | |||
@@ -199,13 +199,13 @@ static inline int get_tx_echo_mb(const struct at91_priv *priv) | |||
199 | 199 | ||
200 | static inline u32 at91_read(const struct at91_priv *priv, enum at91_reg reg) | 200 | static inline u32 at91_read(const struct at91_priv *priv, enum at91_reg reg) |
201 | { | 201 | { |
202 | return readl(priv->reg_base + reg); | 202 | return __raw_readl(priv->reg_base + reg); |
203 | } | 203 | } |
204 | 204 | ||
205 | static inline void at91_write(const struct at91_priv *priv, enum at91_reg reg, | 205 | static inline void at91_write(const struct at91_priv *priv, enum at91_reg reg, |
206 | u32 value) | 206 | u32 value) |
207 | { | 207 | { |
208 | writel(value, priv->reg_base + reg); | 208 | __raw_writel(value, priv->reg_base + reg); |
209 | } | 209 | } |
210 | 210 | ||
211 | static inline void set_mb_mode_prio(const struct at91_priv *priv, | 211 | static inline void set_mb_mode_prio(const struct at91_priv *priv, |