From cf559ab94e058df65c841b4afc8d5346fdda19b3 Mon Sep 17 00:00:00 2001 From: Mark Brown Date: Fri, 21 Mar 2014 02:55:11 +0900 Subject: [PATCH] serial: s3c: Fix build of header without serial_core.h preinclusion serial_s3c.h uses upf_t which is defined in serial_core.h but does not include that itself meaning that users which include serial_s3c.h by itself don't build. Signed-off-by: Mark Brown [t.figa: Moved inclusion under #ifndef __ASSEMBLY__ to fix mach-exynos] Signed-off-by: Tomasz Figa Signed-off-by: Kukjin Kim --- include/linux/serial_s3c.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/serial_s3c.h b/include/linux/serial_s3c.h index 907d9d1d56cf..e6fc9567690b 100644 --- a/include/linux/serial_s3c.h +++ b/include/linux/serial_s3c.h @@ -233,6 +233,8 @@ #ifndef __ASSEMBLY__ +#include + /* configuration structure for per-machine configurations for the * serial port * -- 2.20.1