Using the configs/mpc85xx_smp_defconfig shows this build error:

arch/powerpc/platforms/85xx/p1022_ds.c:341: error: 'udbg_progress' undeclared 
here (not in a function)

Adding in the obvious missing header <asm/udbg.h> fixes it.

Signed-off-by: Paul Gortmaker <paul.gortma...@windriver.com>

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

_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

Reply via email to