Skip to contentSkip to conversation

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

PATCH In review Michael Neuling 2 participants 2 messages Dec 11, 2011 – Dec 13, 2011

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

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

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.

arch/powerpc/platforms/85xx/p1022_ds.c +1 -0
index bb3d84f..b0984ad 100644
@@ -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"
 
Acked-by Timur Tabi on v1 1/1
#1 lore raw
Quoted 6 lines · Michael Neuling

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.

Signature · 2 lines
Timur Tabi
Linux kernel developer at Freescale