]> Git Repo - linux.git/commitdiff
hwrng: intel - Fix included header from 'asm
authorTian Tao <[email protected]>
Mon, 15 Mar 2021 06:12:04 +0000 (14:12 +0800)
committerHerbert Xu <[email protected]>
Fri, 26 Mar 2021 09:02:34 +0000 (20:02 +1100)
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 <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
drivers/char/hw_random/intel-rng.c

index eb7db27f9f196624c6ae857ffabb8bea950ff806..d740b8814bf3fe1ea02c8bc4747920e51ec60a22 100644 (file)
  */
 
 #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 ": "
This page took 0.055345 seconds and 4 git commands to generate.