]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
Staging: kpc2000: kpc_dma: Include the preferred header.
authorSam Muhammed <jane.pnx9@gmail.com>
Wed, 25 Mar 2020 14:26:39 +0000 (10:26 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 Mar 2020 18:38:39 +0000 (19:38 +0100)
<linux/io.h> is the preferred header to include
instead of <asm/io.h>.

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

Signed-off-by: Sam Muhammed <jane.pnx9@gmail.com>
Link: https://lore.kernel.org/r/c7a824c3a2ddc5f44bd89504b8c03a328d69f81d.1585143581.git.jane.pnx9@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/kpc2000/kpc_dma/kpc_dma_driver.c

index bc81afb6ade28d1866536f1b4939ada2e0d29a5c..0bdd345cc8c88caee379f73a7127c2ef49d86c4d 100644 (file)
@@ -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>