[PATCH] hwrng: pasemi-rng - Use linux/io.h instead of asm/io.h

Subsystems: hardware random number generator core, linux for powerpc (32-bit and 64-bit), the rest

STALE3681d

4 messages, 4 authors, 2016-09-14 · open the first message on its own page

[PATCH] hwrng: pasemi-rng - Use linux/io.h instead of asm/io.h

From: PrasannaKumar Muralidharan <hidden>
Date: 2016-09-06 08:29:02

Checkpatch.pl warns about usage of asm/io.h. Use linux/io.h instead.

Signed-off-by: PrasannaKumar Muralidharan <redacted>
---
 drivers/char/hw_random/pasemi-rng.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/char/hw_random/pasemi-rng.c b/drivers/char/hw_random/pasemi-rng.c
index b4e32f7..545df48 100644
--- a/drivers/char/hw_random/pasemi-rng.c
+++ b/drivers/char/hw_random/pasemi-rng.c
@@ -26,7 +26,7 @@
 #include <linux/delay.h>
 #include <linux/of_address.h>
 #include <linux/of_platform.h>
-#include <asm/io.h>
+#include <linux/io.h>
 
 #define SDCRNG_CTL_REG			0x00
 #define   SDCRNG_CTL_FVLD_M		0x0000f000
-- 
2.5.0

Re: hwrng: pasemi-rng - Use linux/io.h instead of asm/io.h

From: Michael Ellerman <hidden>
Date: 2016-09-13 12:16:39

On Tue, 2016-06-09 at 08:28:39 UTC, PrasannaKumar Muralidharan wrote:
Checkpatch.pl warns about usage of asm/io.h. Use linux/io.h instead.

Signed-off-by: PrasannaKumar Muralidharan <redacted>
Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/63019f3cab99c7acd27df5a5b8

cheers

Re: [PATCH] hwrng: pasemi-rng - Use linux/io.h instead of asm/io.h

From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2016-09-13 12:39:42

On Tue, Sep 06, 2016 at 01:58:39PM +0530, PrasannaKumar Muralidharan wrote:
Checkpatch.pl warns about usage of asm/io.h. Use linux/io.h instead.

Signed-off-by: PrasannaKumar Muralidharan <redacted>
Patch applied.  Thanks.
-- 
Email: Herbert Xu [off-list ref]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

Re: [PATCH] hwrng: pasemi-rng - Use linux/io.h instead of asm/io.h

From: Michael Ellerman <mpe@ellerman.id.au>
Date: 2016-09-14 01:54:34

Herbert Xu [off-list ref] writes:
On Tue, Sep 06, 2016 at 01:58:39PM +0530, PrasannaKumar Muralidharan wrote:
quoted
Checkpatch.pl warns about usage of asm/io.h. Use linux/io.h instead.

Signed-off-by: PrasannaKumar Muralidharan <redacted>
Patch applied.  Thanks.
Oops I merged it too, my bad.

Hopefully git will work out the resolution.

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help