can: at91_can: convert readl, writel their __raw pendants
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Cc: Russell King <rmk@arm.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
b156fd0483
commit
7672fe7373
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue