Re: [RESEND 1/1] arch: arm: mach-at91: pm: Move prototypes to mutually included header

From: Alexandre Belloni
Date: Fri Mar 26 2021 - 13:35:21 EST


On 26/03/2021 18:18:04+0100, Alexandre Belloni wrote:
> On Wed, 3 Mar 2021 12:41:49 +0000, Lee Jones wrote:
> > Both the caller and the supplier's source file should have access to
> > the include file containing the prototypes.
> >
> > Fixes the following W=1 kernel build warning(s):
> >
> > drivers/pinctrl/pinctrl-at91.c:1637:6: warning: no previous prototype for ‘at91_pinctrl_gpio_suspend’ [-Wmissing-prototypes]
> > 1637 | void at91_pinctrl_gpio_suspend(void)
> > | ^~~~~~~~~~~~~~~~~~~~~~~~~
> > drivers/pinctrl/pinctrl-at91.c:1661:6: warning: no previous prototype for ‘at91_pinctrl_gpio_resume’ [-Wmissing-prototypes]
> > 1661 | void at91_pinctrl_gpio_resume(void)
> > | ^~~~~~~~~~~~~~~~~~~~~~~~
>
> Applied, thanks!
>
> [1/1] arch: arm: mach-at91: pm: Move prototypes to mutually included header
> commit: 10e9119e865047f4e22cbd69de991d6bc26c4faf
>

Actually:
[1/1] ARM: at91: pm: Move prototypes to mutually included header
commit: 41dbf4a146a06443d1cbf39e238f02fa1ca9d626


--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com