aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZihao Tang <tangzihao1@hisilicon.com>2021-05-13 11:01:37 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-05-13 18:29:12 +0200
commitb1c92c121b77fc8e05a19f058a0b5ebfd95fee94 (patch)
treeff0a022cacca22b45a5f9594aed7e111f7935ff9
parenttty: serial: ip22zilog: include <linux/io.h> instead of <asm/io.h> (diff)
downloadlinux-dev-b1c92c121b77fc8e05a19f058a0b5ebfd95fee94.tar.xz
linux-dev-b1c92c121b77fc8e05a19f058a0b5ebfd95fee94.zip
tty: serial: mux: include <linux/io.h> instead of <asm/io.h>
Include the more general linux/io.h instead of asm/io.h as checkpatch suggests. Signed-off-by: Zihao Tang <tangzihao1@hisilicon.com> Signed-off-by: Jay Fang <f.fangjian@huawei.com> Link: https://lore.kernel.org/r/1620874904-39285-6-git-send-email-f.fangjian@huawei.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/tty/serial/mux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/mux.c b/drivers/tty/serial/mux.c
index 47ab280f553b..be640d9863cd 100644
--- a/drivers/tty/serial/mux.c
+++ b/drivers/tty/serial/mux.c
@@ -21,7 +21,7 @@
#include <linux/console.h>
#include <linux/delay.h> /* for udelay */
#include <linux/device.h>
-#include <asm/io.h>
+#include <linux/io.h>
#include <asm/irq.h>
#include <asm/parisc-device.h>