[PATCH] powerpc: fix compile error with 85xx/p1022_ds.c

Subsystems: linux for powerpc (32-bit and 64-bit), linux for powerpc embedded ppc85xx, the rest

STALE5382d

2 messages, 2 authors, 2011-12-13 · open the first message on its own page

[PATCH] powerpc: fix compile error with 85xx/p1022_ds.c

From: Michael Neuling <hidden>
Date: 2011-12-11 22:49:15

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 <redacted>
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"
 

Re: [PATCH] powerpc: fix compile error with 85xx/p1022_ds.c

From: Tabi Timur-B04825 <hidden>
Date: 2011-12-13 20:56:54

On Sun, Dec 11, 2011 at 4:49 PM, Michael Neuling [off-list ref] wrote:
Current linux-next compiled with mpc85xx_defconfig causes this:
=A0arch/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 <redacted>
Acked-by: Timur Tabi <redacted>

--=20
Timur Tabi
Linux kernel developer at Freescale=
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help