Re: [PATCH 13/19] powerpc/52xx: Add missing functions prototypes

2018-03-23 Thread christophe leroy
Le 22/03/2018 à 21:19, Mathieu Malaterre a écrit : The function prototypes were declared within a `#ifdef CONFIG_PPC_LITE5200` block which would prevent them from being visible when compiling `mpc52xx_pm.c`. Move the prototypes outside of the `#ifdef` block to fix the following warnings treated

[PATCH 13/19] powerpc/52xx: Add missing functions prototypes

2018-03-22 Thread Mathieu Malaterre
The function prototypes were declared within a `#ifdef CONFIG_PPC_LITE5200` block which would prevent them from being visible when compiling `mpc52xx_pm.c`. Move the prototypes outside of the `#ifdef` block to fix the following warnings treated as errors with W=1: arch/powerpc/platforms/52xx/mpc