[PATCH 3/3] at91_can: add driver for Atmel's CAN controller on AT91SAM9263
Andrew Victor
avictor.za at gmail.com
Mon Sep 21 17:44:24 EDT 2009
hi Marc,
> +static inline u32 at91_read(const struct at91_priv *priv, enum at91_reg reg)
> +{
> + return 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);
> +}
Rather use __raw_readl() and __raw_writel().
Regards,
Andrew Victor
More information about the linux-arm-kernel
mailing list