[PATCH] Staging: kpc2000: kpc_dma: include <linux/io.h> instead of <asm/io.h>

Puranjay Mohan puranjay12 at gmail.com
Wed May 15 16:33:14 UTC 2019

Fix following checkpatch.pl warning by including
<linux/io.h> instead of <asm/io.h>.

WARNING: Use #include <linux/io.h> instead of <asm/io.h>

Signed-off-by: Puranjay Mohan <puranjay12 at gmail.com>
 drivers/staging/kpc2000/kpc_dma/dma.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/kpc2000/kpc_dma/dma.c b/drivers/staging/kpc2000/kpc_dma/dma.c
index 13687ab3e9c7..059932ab5907 100644
--- a/drivers/staging/kpc2000/kpc_dma/dma.c
+++ b/drivers/staging/kpc2000/kpc_dma/dma.c
@@ -2,7 +2,7 @@
 #include <linux/init.h>
 #include <linux/module.h>
 #include <linux/types.h>
-#include <asm/io.h>
+#include <linux/io.h>
 #include <linux/export.h>
 #include <linux/slab.h>
 #include <linux/platform_device.h>

More information about the devel mailing list