From: Marc Kleine-Budde Date: Thu, 21 Oct 2010 01:01:20 +0000 (+0000) Subject: can: at91_can: convert readl, writel their __raw pendants X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7672fe7373c7b871220093e568610ac95e96de35;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git can: at91_can: convert readl, writel their __raw pendants Signed-off-by: Marc Kleine-Budde Cc: Russell King Signed-off-by: David S. Miller --- 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) 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,