can: at91_can: convert readl, writel their __raw pendants
authorMarc Kleine-Budde <mkl@pengutronix.de>
Thu, 21 Oct 2010 01:01:20 +0000 (01:01 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 24 Oct 2010 21:47:51 +0000 (14:47 -0700)
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>
drivers/net/can/at91_can.c

index ace9c08..12bd615 100644 (file)
@@ -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,