Re: [v3,09/19] powerpc/chrp/pci: Make some functions static

From: Michael Ellerman
Date: Fri May 25 2018 - 08:00:48 EST


On Wed, 2018-04-04 at 20:15:03 UTC, Mathieu Malaterre wrote:
> These functions can all be static, make it so. Fix warnings treated as
> errors with W=1:
>
> arch/powerpc/platforms/chrp/pci.c:34:5: error: no previous prototype for â??gg2_read_configâ?? [-Werror=missing-prototypes]
> arch/powerpc/platforms/chrp/pci.c:61:5: error: no previous prototype for â??gg2_write_configâ?? [-Werror=missing-prototypes]
> arch/powerpc/platforms/chrp/pci.c:97:5: error: no previous prototype for â??rtas_read_configâ?? [-Werror=missing-prototypes]
> arch/powerpc/platforms/chrp/pci.c:112:5: error: no previous prototype for â??rtas_write_configâ?? [-Werror=missing-prototypes]
>
> Signed-off-by: Mathieu Malaterre <malat@xxxxxxxxxx>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/910be6be6c00e6d33d47985586c392

cheers