summaryrefslogtreecommitdiff
path: root/drivers/tty/serial/sb1250-duart.c
diff options
context:
space:
mode:
authorZihao Tang <tangzihao1@hisilicon.com>2021-05-13 11:01:44 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-05-13 18:29:12 +0200
commit27dede097d2062252916c1c55ec0e04b027162b8 (patch)
treea90d5704eabb57b3bb5137515ffcfeb90374af29 /drivers/tty/serial/sb1250-duart.c
parent7d5a3ec537d9063bf4f1685a667d13a9e9196b85 (diff)
tty: serial: sb1250-duart: 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-13-git-send-email-f.fangjian@huawei.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/sb1250-duart.c')
-rw-r--r--drivers/tty/serial/sb1250-duart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/sb1250-duart.c b/drivers/tty/serial/sb1250-duart.c
index 22c7bc90b104..738df6d9c0d9 100644
--- a/drivers/tty/serial/sb1250-duart.c
+++ b/drivers/tty/serial/sb1250-duart.c
@@ -34,7 +34,7 @@
#include <linux/types.h>
#include <linux/refcount.h>
-#include <asm/io.h>
+#include <linux/io.h>
#include <asm/sibyte/sb1250.h>
#include <asm/sibyte/sb1250_uart.h>