Index: kernel/arch/ppc32/src/ppc32.c
===================================================================
--- kernel/arch/ppc32/src/ppc32.c	(revision 2d53cfc34c0cd9bc880bc3aa5bcc67546a00ea44)
+++ kernel/arch/ppc32/src/ppc32.c	(revision 256cbfe514223bde4eeeb03138267ab8192ed09b)
@@ -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)
