Index: kernel/arch/ppc32/src/ppc32.c
===================================================================
--- kernel/arch/ppc32/src/ppc32.c	(revision 2d53cfc34c0cd9bc880bc3aa5bcc67546a00ea44)
+++ kernel/arch/ppc32/src/ppc32.c	(revision 271e24a4aca586ebdc97458d9836e0a3a3e1038c)
@@ -103,4 +103,5 @@
 }
 
+#ifdef CONFIG_FB
 static bool display_register(ofw_tree_node_t *node, void *arg)
 {
@@ -169,4 +170,5 @@
 	return true;
 }
+#endif
 
 void arch_post_mm_init(void)
