* [PATCH] hwrng: omap - Fix included header from 'asm'
@ 2021-02-19 11:19 Tian Tao
2021-03-04 6:44 ` Herbert Xu
0 siblings, 1 reply; 2+ messages in thread
From: Tian Tao @ 2021-02-19 11:19 UTC (permalink / raw)
To: dsaxena, herbert; +Cc: linux-crypto
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(-)
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)
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] hwrng: omap - Fix included header from 'asm'
2021-02-19 11:19 [PATCH] hwrng: omap - Fix included header from 'asm' Tian Tao
@ 2021-03-04 6:44 ` Herbert Xu
0 siblings, 0 replies; 2+ messages in thread
From: Herbert Xu @ 2021-03-04 6:44 UTC (permalink / raw)
To: Tian Tao; +Cc: dsaxena, linux-crypto
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-03-04 6:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-19 11:19 [PATCH] hwrng: omap - Fix included header from 'asm' Tian Tao
2021-03-04 6:44 ` Herbert Xu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).