hwrng: omap - Fix included header from 'asm'
authorTian Tao <tiantao6@hisilicon.com>
Fri, 19 Feb 2021 11:19:18 +0000 (19:19 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sun, 7 Mar 2021 04:13:17 +0000 (15:13 +1100)
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>
drivers/char/hw_random/omap-rng.c

index 5cc5fc504968267b0d17251477477f41ea7a3fee..4380c23587be15f651519a53baf6303eb3ef13f0 100644 (file)
@@ -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)