Re: [v2,15/21] powerpc: Make function MMU_setup static

From: Michael Ellerman
Date: Wed Mar 14 2018 - 05:30:08 EST


On Wed, 2018-03-07 at 20:32:55 UTC, Mathieu Malaterre wrote:
> Since function `MMU_setup` is not meant to be exported, change the
> signature to `static`. Fix warning (treated as error with W=1):
>
> CC kernel/sys.o
> arch/powerpc/mm/init_32.c:102:13: error: no previous prototype for â??MMU_setupâ?? [-Werror=missing-prototypes]
> void __init MMU_setup(void)
> ^~~~~~~~~
> cc1: all warnings being treated as errors
>
> Signed-off-by: Mathieu Malaterre <malat@xxxxxxxxxx>

Applied to powerpc next, thanks.

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

cheers