diff options
author | Corentin LABBE <clabbe.montjoie@gmail.com> | 2016-08-26 13:11:32 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-08-31 23:00:44 +0800 |
commit | 055ae890388ad2b02a53d5c3e1f60f976989e34e (patch) | |
tree | 5af3f9603d73a2b8ee00f271b3b3958cf8b602bd /drivers/char/hw_random | |
parent | f8169bfb4955ebb669b49d5d2564b250cdd7aa7b (diff) | |
download | blackbird-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.c | 7 |
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" |