Re: powerpc: include setup.h header file to fix warnings

From: Michael Ellerman
Date: Mon Aug 13 2018 - 07:23:52 EST


On Fri, 2018-06-22 at 19:26:53 UTC, Mathieu Malaterre wrote:
> Make sure to include setup.h to provide the following prototypes:
>
> - irqstack_early_init
> - setup_power_save
> - initialize_cache_info
>
> Fix the following warnings (treated as error in W=1):
>
> arch/powerpc/kernel/setup_32.c:198:13: error: no previous prototype for â??irqstack_early_initâ?? [-Werror=missing-prototypes]
> arch/powerpc/kernel/setup_32.c:238:13: error: no previous prototype for â??setup_power_saveâ?? [-Werror=missing-prototypes]
> arch/powerpc/kernel/setup_32.c:253:13: error: no previous prototype for â??initialize_cache_infoâ?? [-Werror=missing-prototypes]
>
> Signed-off-by: Mathieu Malaterre <malat@xxxxxxxxxx>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/f2c6d0d1092e3da2bd36c768777e88

cheers