summaryrefslogtreecommitdiff
path: root/drivers/char
diff options
context:
space:
mode:
authorTian Tao <tiantao6@hisilicon.com>2021-02-19 14:19:18 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2021-03-07 07:13:17 +0300
commitf0ba303badfe4daf860c4a36d7651594a31066cf (patch)
tree6f3a5d18462a4a4b3888d1e56e7473c53e45924f /drivers/char
parent664b0f41ce2e8286c471fd8865d005f594733bdc (diff)
downloadlinux-f0ba303badfe4daf860c4a36d7651594a31066cf.tar.xz
hwrng: omap - Fix included header from 'asm'
This commit fixes the checkpatch warning: WARNING: Use #include <linux/io.h> instead of <asm/io.h> drivers/char/hw_random/omap-rng.c:34 Signed-off-by: Tian Tao <tiantao6@hisilicon.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/char')
-rw-r--r--drivers/char/hw_random/omap-rng.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/char/hw_random/omap-rng.c b/drivers/char/hw_random/omap-rng.c
index 5cc5fc504968..4380c23587be 100644
--- a/drivers/char/hw_random/omap-rng.c
+++ b/drivers/char/hw_random/omap-rng.c
@@ -30,8 +30,7 @@
#include <linux/of_address.h>
#include <linux/interrupt.h>
#include <linux/clk.h>
-
-#include <asm/io.h>
+#include <linux/io.h>
#define RNG_REG_STATUS_RDY (1 << 0)