Commit 7672fe73 authored by Marc Kleine-Budde's avatar Marc Kleine-Budde Committed by David S. Miller

can: at91_can: convert readl, writel their __raw pendants

Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
Cc: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b156fd04
...@@ -199,13 +199,13 @@ static inline int get_tx_echo_mb(const struct at91_priv *priv) ...@@ -199,13 +199,13 @@ static inline int get_tx_echo_mb(const struct at91_priv *priv)
static inline u32 at91_read(const struct at91_priv *priv, enum at91_reg reg) static inline u32 at91_read(const struct at91_priv *priv, enum at91_reg reg)
{ {
return readl(priv->reg_base + reg); return __raw_readl(priv->reg_base + reg);
} }
static inline void at91_write(const struct at91_priv *priv, enum at91_reg reg, static inline void at91_write(const struct at91_priv *priv, enum at91_reg reg,
u32 value) u32 value)
{ {
writel(value, priv->reg_base + reg); __raw_writel(value, priv->reg_base + reg);
} }
static inline void set_mb_mode_prio(const struct at91_priv *priv, static inline void set_mb_mode_prio(const struct at91_priv *priv,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment