Linux cryptographic layer development
 help / color / mirror / Atom feed
* [PATCH] hwrng: geode-rng - Use linux/io.h instead of asm/io.h
@ 2016-09-11 15:24 PrasannaKumar Muralidharan
  2016-09-13 12:42 ` Herbert Xu
  0 siblings, 1 reply; 2+ messages in thread
From: PrasannaKumar Muralidharan @ 2016-09-11 15:24 UTC (permalink / raw)
  To: herbert, mpm, linux-geode, linux-crypto; +Cc: PrasannaKumar Muralidharan

Fix checkpatch.pl warning by changing from asm/io.h to linux/io.h. In
the mean time arrange the includes in alphabetical order.

Signed-off-by: PrasannaKumar Muralidharan <prasannatsmkumar@gmail.com>
---
 drivers/char/hw_random/geode-rng.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/char/hw_random/geode-rng.c b/drivers/char/hw_random/geode-rng.c
index 79e7482..0cae210 100644
--- a/drivers/char/hw_random/geode-rng.c
+++ b/drivers/char/hw_random/geode-rng.c
@@ -24,12 +24,12 @@
  * warranty of any kind, whether express or implied.
  */
 
-#include <linux/module.h>
+#include <linux/delay.h>
+#include <linux/hw_random.h>
+#include <linux/io.h>
 #include <linux/kernel.h>
+#include <linux/module.h>
 #include <linux/pci.h>
-#include <linux/hw_random.h>
-#include <linux/delay.h>
-#include <asm/io.h>
 
 #define GEODE_RNG_DATA_REG   0x50
 #define GEODE_RNG_STATUS_REG 0x54
-- 
2.5.0

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

end of thread, other threads:[~2016-09-13 12:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-11 15:24 [PATCH] hwrng: geode-rng - Use linux/io.h instead of asm/io.h PrasannaKumar Muralidharan
2016-09-13 12:42 ` Herbert Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox