diff mbox series

hwrng: omap - Fix included header from 'asm'

Message ID 1613733558-61854-1-git-send-email-tiantao6@hisilicon.com
State Accepted
Commit f0ba303badfe4daf860c4a36d7651594a31066cf
Headers show
Series hwrng: omap - Fix included header from 'asm' | expand

Commit Message

Tian Tao Feb. 19, 2021, 11:19 a.m. UTC
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>
---
 drivers/char/hw_random/omap-rng.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Comments

Herbert Xu March 4, 2021, 6:44 a.m. UTC | #1
On Fri, Feb 19, 2021 at 07:19:18PM +0800, Tian Tao wrote:
> 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>

> ---

>  drivers/char/hw_random/omap-rng.c | 3 +--

>  1 file changed, 1 insertion(+), 2 deletions(-)


Patch applied.  Thanks.
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
diff mbox series

Patch

diff --git a/drivers/char/hw_random/omap-rng.c b/drivers/char/hw_random/omap-rng.c
index 5cc5fc5..4380c23 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)