summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZihao Tang <tangzihao1@hisilicon.com>2021-05-13 11:01:39 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-05-13 18:29:12 +0200
commit10dab44f78dfa45bcd7862a887362355e522639d (patch)
treeefb1150b3d97661cdf526eb1af3bbac849a22fba
parentce6ff28069d8bf4141c9763d4edd64f5439f0982 (diff)
downloadlinux-10dab44f78dfa45bcd7862a887362355e522639d.tar.bz2
tty: serial: txx9: 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-8-git-send-email-f.fangjian@huawei.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/tty/serial/serial_txx9.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/serial_txx9.c b/drivers/tty/serial/serial_txx9.c
index 0a7e5b74bc1d..aaca4fe38486 100644
--- a/drivers/tty/serial/serial_txx9.c
+++ b/drivers/tty/serial/serial_txx9.c
@@ -24,7 +24,7 @@
#include <linux/tty.h>
#include <linux/tty_flip.h>
-#include <asm/io.h>
+#include <linux/io.h>
static char *serial_version = "1.11";
static char *serial_name = "TX39/49 Serial driver";