summaryrefslogtreecommitdiff
path: root/drivers/char
diff options
context:
space:
mode:
authorTian Tao <tiantao6@hisilicon.com>2021-03-15 14:12:04 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2021-03-26 20:02:34 +1100
commite656459b575068c2bbd27f9cd21da78d344b777e (patch)
tree229cdbebd161e593f6a60d2b782669fb8c11412e /drivers/char
parent3877869d13a043a2dbab0d034e5eac3b21f4994d (diff)
downloadlwn-e656459b575068c2bbd27f9cd21da78d344b777e.tar.gz
lwn-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')
-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 ": "