diff options
Diffstat (limited to 'target/linux/mcs814x/files-3.3/drivers/char')
-rw-r--r-- | target/linux/mcs814x/files-3.3/drivers/char/hw_random/mcs814x-rng.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/mcs814x/files-3.3/drivers/char/hw_random/mcs814x-rng.c b/target/linux/mcs814x/files-3.3/drivers/char/hw_random/mcs814x-rng.c index cccab07b27..b1e95810dd 100644 --- a/target/linux/mcs814x/files-3.3/drivers/char/hw_random/mcs814x-rng.c +++ b/target/linux/mcs814x/files-3.3/drivers/char/hw_random/mcs814x-rng.c @@ -28,7 +28,7 @@ static int mcs814x_rng_data_read(struct hwrng *rng, u32 *buffer) { struct mcs814x_rng_priv *priv = (struct mcs814x_rng_priv *)rng->priv; - *buffer = __raw_readl(priv->regs + RND); + *buffer = readl_relaxed(priv->regs + RND); return 4; } |