Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Zihao Tang and committed by
Greg Kroah-Hartman
10dab44f ce6ff280

+1 -1
+1 -1
drivers/tty/serial/serial_txx9.c
··· 24 24 #include <linux/tty.h> 25 25 #include <linux/tty_flip.h> 26 26 27 - #include <asm/io.h> 27 + #include <linux/io.h> 28 28 29 29 static char *serial_version = "1.11"; 30 30 static char *serial_name = "TX39/49 Serial driver";