summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorentin LABBE <clabbe.montjoie@gmail.com>2016-08-26 14:11:32 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2016-08-31 18:00:44 +0300
commit055ae890388ad2b02a53d5c3e1f60f976989e34e (patch)
tree5af3f9603d73a2b8ee00f271b3b3958cf8b602bd
parentf8169bfb4955ebb669b49d5d2564b250cdd7aa7b (diff)
downloadlinux-055ae890388ad2b02a53d5c3e1f60f976989e34e.tar.xz
hwrng: amd - Remove asm/io.h
checkpatch complains about <asm/io.h> used instead of linux/io.h. In fact it is not needed. This patch remove it, and in the process, alphabetize the other headers. Signed-off-by: LABBE Corentin <clabbe.montjoie@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
-rw-r--r--drivers/char/hw_random/amd-rng.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/char/hw_random/amd-rng.c b/drivers/char/hw_random/amd-rng.c
index 93157afa51eb..de82fe3643a5 100644
--- a/drivers/char/hw_random/amd-rng.c
+++ b/drivers/char/hw_random/amd-rng.c
@@ -24,12 +24,11 @@
* warranty of any kind, whether express or implied.
*/
-#include <linux/module.h>
+#include <linux/delay.h>
+#include <linux/hw_random.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 DRV_NAME "AMD768-HWRNG"