diff options
author | Songjun Wu <songjun.wu@linux.intel.com> | 2018-10-16 17:19:13 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-11-09 08:43:27 -0800 |
commit | 3c8c2a9e29dca3ee40abf9a61672dfd9509e2ec4 (patch) | |
tree | f8cbb81b9293f8c5fdd97ed0f941b1743a0a027b /drivers/tty/serial/lantiq.c | |
parent | a77bbe5e334fe7dc570c1f5fe62386cd3a60d6d6 (diff) | |
download | linux-3c8c2a9e29dca3ee40abf9a61672dfd9509e2ec4.tar.bz2 |
serial: lantiq: Replace lantiq_soc.h with lantiq.h
In this existing lantiq serial driver,
lantiq_soc.h is defined in the arch directory,
./arch/mips/include/asm/mach-lantiq/falcon/lantiq_soc.h
./arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
This driver need to be extended to support more platform,
lantiq.h is added in include/linux/ to make it
globally available and provide some wrapper code.
Use lantiq.h to make the driver can find the correct
header file.
Signed-off-by: Songjun Wu <songjun.wu@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/lantiq.c')
-rw-r--r-- | drivers/tty/serial/lantiq.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/tty/serial/lantiq.c b/drivers/tty/serial/lantiq.c index c983694ba24d..ba0c70b16bda 100644 --- a/drivers/tty/serial/lantiq.c +++ b/drivers/tty/serial/lantiq.c @@ -15,6 +15,7 @@ #include <linux/init.h> #include <linux/io.h> #include <linux/ioport.h> +#include <linux/lantiq.h> #include <linux/of_address.h> #include <linux/of_irq.h> #include <linux/of_platform.h> @@ -25,8 +26,6 @@ #include <linux/tty.h> #include <linux/tty_flip.h> -#include <lantiq_soc.h> - #define PORT_LTQ_ASC 111 #define MAXPORTS 2 #define UART_DUMMY_UER_RX 1 |