linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] hwrng: pasemi-rng - Use linux/io.h instead of asm/io.h
@ 2016-09-06  8:28 PrasannaKumar Muralidharan
  2016-09-13 12:16 ` Michael Ellerman
  2016-09-13 12:39 ` [PATCH] " Herbert Xu
  0 siblings, 2 replies; 4+ messages in thread
From: PrasannaKumar Muralidharan @ 2016-09-06  8:28 UTC (permalink / raw)
  To: olof, linuxppc-dev, linux-crypto, herbert, mpm; +Cc: PrasannaKumar Muralidharan

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

Signed-off-by: PrasannaKumar Muralidharan <prasannatsmkumar@gmail.com>
---
 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

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-09-14  1:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-06  8:28 [PATCH] hwrng: pasemi-rng - Use linux/io.h instead of asm/io.h PrasannaKumar Muralidharan
2016-09-13 12:16 ` Michael Ellerman
2016-09-13 12:39 ` [PATCH] " Herbert Xu
2016-09-14  1:54   ` Michael Ellerman

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).