diff options
author | Mark Brown <broonie@linaro.org> | 2014-03-20 18:55:11 +0100 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2014-03-20 20:12:33 +0100 |
commit | cf559ab94e058df65c841b4afc8d5346fdda19b3 (patch) | |
tree | 56eeb7c90712774d182b33ff7a13fe33e5f4f834 | |
parent | ARM: EXYNOS: Allow wake-up using GIC interrupts (diff) | |
download | linux-cf559ab94e058df65c841b4afc8d5346fdda19b3.tar.xz linux-cf559ab94e058df65c841b4afc8d5346fdda19b3.zip |
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>
-rw-r--r-- | include/linux/serial_s3c.h | 2 |
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 * |