mirror of
https://github.com/fail0verflow/switch-linux.git
synced 2025-05-04 02:34:21 -04:00
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:
parent
dd8ac696b2
commit
cf559ab94e
1 changed files with 2 additions and 0 deletions
|
@ -233,6 +233,8 @@
|
||||||
|
|
||||||
#ifndef __ASSEMBLY__
|
#ifndef __ASSEMBLY__
|
||||||
|
|
||||||
|
#include <linux/serial_core.h>
|
||||||
|
|
||||||
/* configuration structure for per-machine configurations for the
|
/* configuration structure for per-machine configurations for the
|
||||||
* serial port
|
* serial port
|
||||||
*
|
*
|
||||||
|
|
Loading…
Add table
Reference in a new issue