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>
This commit is contained in:
Mark Brown 2014-03-21 02:55:11 +09:00 коммит произвёл Kukjin Kim
Родитель dd8ac696b2
Коммит cf559ab94e
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -233,6 +233,8 @@
#ifndef __ASSEMBLY__
#include <linux/serial_core.h>
/* configuration structure for per-machine configurations for the
* serial port
*