summaryrefslogtreecommitdiffstats
path: root/drivers/char/hw_random
diff options
context:
space:
mode:
authorCorentin LABBE <clabbe.montjoie@gmail.com>2016-08-26 13:11:32 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2016-08-31 23:00:44 +0800
commit055ae890388ad2b02a53d5c3e1f60f976989e34e (patch)
tree5af3f9603d73a2b8ee00f271b3b3958cf8b602bd /drivers/char/hw_random
parentf8169bfb4955ebb669b49d5d2564b250cdd7aa7b (diff)
downloadblackbird-obmc-linux-055ae890388ad2b02a53d5c3e1f60f976989e34e.tar.gz
blackbird-obmc-linux-055ae890388ad2b02a53d5c3e1f60f976989e34e.zip
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>
Diffstat (limited to 'drivers/char/hw_random')
-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"
OpenPOWER on IntegriCloud