]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
hwrng: geode - Use linux/io.h instead of asm/io.h
authorPrasannaKumar Muralidharan <prasannatsmkumar@gmail.com>
Sun, 11 Sep 2016 15:24:26 +0000 (20:54 +0530)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 13 Sep 2016 12:27:25 +0000 (20:27 +0800)
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>
drivers/char/hw_random/geode-rng.c

index 79e7482dc5c4b7ef410e9836339cf1f3d479e2da..0cae21086c056470e13bfcebdd7e42cb4c6b2d79 100644 (file)
  * 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