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

tty: serial: atmel: 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-2-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
635b2589 76af233d

+1 -1
+1 -1
drivers/tty/serial/atmel_serial.c
··· 30 30 #include <linux/irq.h> 31 31 #include <linux/suspend.h> 32 32 #include <linux/mm.h> 33 + #include <linux/io.h> 33 34 34 35 #include <asm/div64.h> 35 - #include <asm/io.h> 36 36 #include <asm/ioctls.h> 37 37 38 38 #define PDC_BUFFER_SIZE 512