[12/21] powerpc: Add missing prototype for time_init

Michael Ellerman patch-notifications at ellerman.id.au
Wed Mar 14 20:27:55 AEDT 2018

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 at debian.org>

Applied to powerpc next, thanks.



More information about the Linuxppc-dev mailing list