The 'uart_port' struct is used in the declaration of the jz4740_serial_out() function. This commit adds the missing header file containing declaration of the 'uart_port' struct. Signed-off-by: Antony Pavlov <antonynpavlov@xxxxxxxxx> --- arch/mips/jz4740/serial.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/mips/jz4740/serial.h b/arch/mips/jz4740/serial.h index aa5a939..dfc155c 100644 --- a/arch/mips/jz4740/serial.h +++ b/arch/mips/jz4740/serial.h @@ -16,6 +16,8 @@ #ifndef __MIPS_JZ4740_SERIAL_H__ #define __MIPS_JZ4740_SERIAL_H__ +#include <linux/serial_core.h> + void jz4740_serial_out(struct uart_port *p, int offset, int value); #endif -- 1.7.10.4