summaryrefslogtreecommitdiffstats
path: root/drivers/char/hw_random
diff options
context:
space:
mode:
authorTian Tao <tiantao6@hisilicon.com>2021-03-15 07:12:04 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2021-03-26 10:02:34 +0100
commite656459b575068c2bbd27f9cd21da78d344b777e (patch)
tree229cdbebd161e593f6a60d2b782669fb8c11412e /drivers/char/hw_random
parentMerge branch 'ecc' (diff)
downloadlinux-e656459b575068c2bbd27f9cd21da78d344b777e.tar.xz
linux-e656459b575068c2bbd27f9cd21da78d344b777e.zip
hwrng: intel - Fix included header from 'asm
This commit fixes the checkpatch warning: WARNING: Use #include <linux/io.h> instead of <asm/io.h> 34: FILE: drivers/char/hw_random/intel-rng.c:34: Signed-off-by: Tian Tao <tiantao6@hisilicon.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/intel-rng.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/hw_random/intel-rng.c b/drivers/char/hw_random/intel-rng.c
index eb7db27f9f19..d740b8814bf3 100644
--- a/drivers/char/hw_random/intel-rng.c
+++ b/drivers/char/hw_random/intel-rng.c
@@ -25,13 +25,13 @@
*/
#include <linux/hw_random.h>
+#include <linux/io.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/stop_machine.h>
#include <linux/delay.h>
#include <linux/slab.h>
-#include <asm/io.h>
#define PFX KBUILD_MODNAME ": "