summaryrefslogtreecommitdiffstats
path: root/drivers/char
diff options
context:
space:
mode:
authorPrasannaKumar Muralidharan <prasannatsmkumar@gmail.com>2016-09-11 17:24:26 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2016-09-13 14:27:25 +0200
commite9afc746299d39f415fdb13b1213137deb4fc497 (patch)
tree0eab679d9ba127de3592525c0b79ca163dec0784 /drivers/char
parenthwrng: geode - Migrate to managed API (diff)
downloadlinux-e9afc746299d39f415fdb13b1213137deb4fc497.tar.xz
linux-e9afc746299d39f415fdb13b1213137deb4fc497.zip
hwrng: geode - Use linux/io.h instead of asm/io.h
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> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/char')
-rw-r--r--drivers/char/hw_random/geode-rng.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/char/hw_random/geode-rng.c b/drivers/char/hw_random/geode-rng.c
index 79e7482dc5c4..0cae21086c05 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