summaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial
diff options
context:
space:
mode:
authorZihao Tang <tangzihao1@hisilicon.com>2021-05-13 05:01:40 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-05-13 18:29:12 +0200
commitd890c508769b05a589a4f197c45f74011679d580 (patch)
tree7c818361fc821f4c79c6fa46bddd806fcc0af913 /drivers/tty/serial
parenttty: serial: txx9: include <linux/io.h> instead of <asm/io.h> (diff)
downloadlinux-d890c508769b05a589a4f197c45f74011679d580.tar.xz
linux-d890c508769b05a589a4f197c45f74011679d580.zip
tty: serial: sunsab: 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-9-git-send-email-f.fangjian@huawei.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial')
-rw-r--r--drivers/tty/serial/sunsab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/sunsab.c b/drivers/tty/serial/sunsab.c
index bab551f46963..92e572634009 100644
--- a/drivers/tty/serial/sunsab.c
+++ b/drivers/tty/serial/sunsab.c
@@ -35,7 +35,7 @@
#include <linux/init.h>
#include <linux/of_device.h>
-#include <asm/io.h>
+#include <linux/io.h>
#include <asm/irq.h>
#include <asm/prom.h>
#include <asm/setup.h>