From c2ee19355b908623ac8f07a9cbb43ef8427af254 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Tue, 29 May 2007 16:56:15 +0000 Subject: [PATCH] .21 fixes SVN-Revision: 7387 --- target/linux/adm5120-2.6/files/drivers/mtd/maps/adm5120_mtd.c | 1 + target/linux/adm5120-2.6/files/drivers/serial/adm5120_uart.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/target/linux/adm5120-2.6/files/drivers/mtd/maps/adm5120_mtd.c b/target/linux/adm5120-2.6/files/drivers/mtd/maps/adm5120_mtd.c index a1737d7020..41c290b04a 100644 --- a/target/linux/adm5120-2.6/files/drivers/mtd/maps/adm5120_mtd.c +++ b/target/linux/adm5120-2.6/files/drivers/mtd/maps/adm5120_mtd.c @@ -43,6 +43,7 @@ #include #include #include +#include #ifdef CONFIG_MTD_PARTITIONS #include #endif diff --git a/target/linux/adm5120-2.6/files/drivers/serial/adm5120_uart.c b/target/linux/adm5120-2.6/files/drivers/serial/adm5120_uart.c index 6b42928679..ea1010cca1 100644 --- a/target/linux/adm5120-2.6/files/drivers/serial/adm5120_uart.c +++ b/target/linux/adm5120-2.6/files/drivers/serial/adm5120_uart.c @@ -308,7 +308,7 @@ static void adm5120ser_shutdown(struct uart_port *port) } static void adm5120ser_set_termios(struct uart_port *port, - struct termios *termios, struct termios *old) + struct ktermios *termios, struct ktermios *old) { unsigned int baud, quot, lcrh; unsigned long flags; -- 2.30.2