Skip to content

Commit

Permalink
can: at91_can: convert readl, writel their __raw pendants
Browse files Browse the repository at this point in the history
Signed-off-by: Marc Kleine-Budde <[email protected]>
Cc: Russell King <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
marckleinebudde authored and davem330 committed Oct 24, 2010
1 parent b156fd0 commit 7672fe7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/can/at91_can.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
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,
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,
Expand Down

0 comments on commit 7672fe7

Please sign in to comment.