From: Mark Brown Date: Thu, 20 Mar 2014 17:55:11 +0000 (+0900) Subject: serial: s3c: Fix build of header without serial_core.h preinclusion X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=cf559ab94e058df65c841b4afc8d5346fdda19b3;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 --- 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 *