Re: [PATCH] powerpc/4xx: Add missing includes to fix no previous prototype errors

2023-08-23 Thread Michael Ellerman
On Thu, 17 Aug 2023 16:27:23 +0200, Christophe Leroy wrote: > A W=1 build of ppc40x_defconfig throws the followings errors: > > CC arch/powerpc/platforms/4xx/uic.o > arch/powerpc/platforms/4xx/uic.c:274:13: warning: no previous prototype for > 'uic_init_tree' [-Wmissing-prototypes] > 274

[PATCH] powerpc/4xx: Add missing includes to fix no previous prototype errors

2023-08-17 Thread Christophe Leroy
A W=1 build of ppc40x_defconfig throws the followings errors: CC arch/powerpc/platforms/4xx/uic.o arch/powerpc/platforms/4xx/uic.c:274:13: warning: no previous prototype for 'uic_init_tree' [-Wmissing-prototypes] 274 | void __init uic_init_tree(void) | ^ arc