Re: [PATCH] powerpc/8xx: Remove init_internal_rtc() to fix no previous prototype error
From: Michael Ellerman
Date: Wed Aug 23 2023 - 08:04:18 EST
On Thu, 17 Aug 2023 14:26:45 +0200, Christophe Leroy wrote:
> A W=1 build of mpc885_ads_defconfig throws the following error:
>
> CC arch/powerpc/platforms/8xx/m8xx_setup.o
> arch/powerpc/platforms/8xx/m8xx_setup.c:41:1: error: no previous prototype for 'init_internal_rtc' [-Werror=missing-prototypes]
> 41 | init_internal_rtc(void)
> | ^~~~~~~~~~~~~~~~~
>
> [...]
Applied to powerpc/next.
[1/1] powerpc/8xx: Remove init_internal_rtc() to fix no previous prototype error
https://git.kernel.org/powerpc/c/4531f128eac356144545b833908b6ffbc0292e16
cheers