serial: s3c: Fix build of header without serial_core.h preinclusion
authorMark Brown <broonie@linaro.org>
Thu, 20 Mar 2014 17:55:11 +0000 (02:55 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Thu, 20 Mar 2014 19:12:33 +0000 (04:12 +0900)
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>
include/linux/serial_s3c.h

index 907d9d1d56cf012cdbb04ed39e9aa3f1bd2cd2ad..e6fc9567690bc6d5fe59ac0dfcc88cbeaac01fc8 100644 (file)
 
 #ifndef __ASSEMBLY__
 
+#include <linux/serial_core.h>
+
 /* configuration structure for per-machine configurations for the
  * serial port
  *