Patchwork [U-Boot] ColdFire: uart: fix build failure for missing header files

login
register
mail settings
Submitter Alison Wang
Date Oct. 19, 2012, 2:54 a.m.
Message ID <1350615278-25427-1-git-send-email-b18965@freescale.com>
Download mbox | patch
Permalink /patch/192496/
State Accepted
Delegated to: Jason Jin
Headers show

Comments

Alison Wang - Oct. 19, 2012, 2:54 a.m.
The following commit introduces some build failures for ColdFire
platform.

commit abaef69fbe683197607febeb2cc619490aca2a10
Author: Marek Vasut <marex@denx.de>
Date:   Thu Sep 13 16:51:38 2012 +0200

Add the missed header files.

Sign-off-by: Alison Wang <b18965@freescale.com>
---
 drivers/serial/mcfuart.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

Patch

diff --git a/drivers/serial/mcfuart.c b/drivers/serial/mcfuart.c
index 8ea9af0..7e25797 100644
--- a/drivers/serial/mcfuart.c
+++ b/drivers/serial/mcfuart.c
@@ -28,6 +28,8 @@ 
  */
 
 #include <common.h>
+#include <serial.h>
+#include <linux/compiler.h>
 
 #include <asm/immap.h>
 #include <asm/uart.h>