Patchwork powerpc: fix compile error with 85xx/p1022_ds.c

login
register
mail settings
Submitter Michael Neuling
Date Dec. 11, 2011, 10:49 p.m.
Message ID <22284.1323643754@neuling.org>
Download mbox | patch
Permalink /patch/130620/
State Accepted, archived
Delegated to: Kumar Gala
Headers show

Comments

Michael Neuling - Dec. 11, 2011, 10:49 p.m.
Current linux-next compiled with mpc85xx_defconfig causes this:
 arch/powerpc/platforms/85xx/p1022_ds.c:341:14: error: 'udbg_progress' undeclared here (not in a function)

Add include to fix this.

Signed-off-by: Michael Neuling <mikey@neuling.org>
Tabi Timur-B04825 - Dec. 13, 2011, 8:56 p.m.
On Sun, Dec 11, 2011 at 4:49 PM, Michael Neuling <mikey@neuling.org> wrote:
> Current linux-next compiled with mpc85xx_defconfig causes this:
>  arch/powerpc/platforms/85xx/p1022_ds.c:341:14: error: 'udbg_progress' undeclared here (not in a function)
>
> Add include to fix this.
>
> Signed-off-by: Michael Neuling <mikey@neuling.org>

Acked-by: Timur Tabi <timur@freescale.com>

Patch

diff --git a/arch/powerpc/platforms/85xx/p1022_ds.c b/arch/powerpc/platforms/85xx/p1022_ds.c
index bb3d84f..b0984ad 100644
--- a/arch/powerpc/platforms/85xx/p1022_ds.c
+++ b/arch/powerpc/platforms/85xx/p1022_ds.c
@@ -25,6 +25,7 @@ 
 
 #include <sysdev/fsl_soc.h>
 #include <sysdev/fsl_pci.h>
+#include <asm/udbg.h>
 #include <asm/fsl_guts.h>
 #include "smp.h"