Re: [12/21] powerpc: Add missing prototype for time_init
From: Michael Ellerman
Date: Wed Mar 14 2018 - 05:32:36 EST
On Sun, 2018-02-25 at 17:22:27 UTC, Mathieu Malaterre wrote:
> The function time_init did not have a prototype defined in the time.h
> header. Fix the following warning (treated as error in W=1):
>
> CC arch/powerpc/kernel/time.o
> arch/powerpc/kernel/time.c:1068:13: error: no previous prototype for â??time_initâ?? [-Werror=missing-prototypes]
> void __init time_init(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/848092faa0c7687a99bf465808f7da
cheers