summaryrefslogtreecommitdiff
path: root/include/linux/serial_s3c.h
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2014-03-21 02:55:11 +0900
committerKukjin Kim <kgene.kim@samsung.com>2014-03-21 04:12:33 +0900
commitcf559ab94e058df65c841b4afc8d5346fdda19b3 (patch)
tree56eeb7c90712774d182b33ff7a13fe33e5f4f834 /include/linux/serial_s3c.h
parentdd8ac696b20c1be5ca4728045df10e882e01e91d (diff)
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 <broonie@linaro.org> [t.figa: Moved inclusion under #ifndef __ASSEMBLY__ to fix mach-exynos] Signed-off-by: Tomasz Figa <t.figa@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'include/linux/serial_s3c.h')
-rw-r--r--include/linux/serial_s3c.h2
1 files changed, 2 insertions, 0 deletions
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 <linux/serial_core.h>
+
/* configuration structure for per-machine configurations for the
* serial port
*