Re: [PATCH] powerpc: Make some functions static

2019-03-20 Thread Michael Ellerman
Mathieu Malaterre writes: > On Tue, Mar 12, 2019 at 10:14 PM Christophe Leroy > wrote: >> >> >> >> Le 12/03/2019 à 21:31, Mathieu Malaterre a écrit : >> > In commit cb9e4d10c448 ("[POWERPC] Add support for 750CL Holly board") >> > new functions were added. Since these functions can be made static

Re: [PATCH] powerpc: Make some functions static

2019-03-13 Thread Mathieu Malaterre
On Tue, Mar 12, 2019 at 10:14 PM Christophe Leroy wrote: > > > > Le 12/03/2019 à 21:31, Mathieu Malaterre a écrit : > > In commit cb9e4d10c448 ("[POWERPC] Add support for 750CL Holly board") > > new functions were added. Since these functions can be made static, > > make it so. While doing so, it

Re: [PATCH] powerpc: Make some functions static

2019-03-12 Thread Christophe Leroy
Le 12/03/2019 à 21:31, Mathieu Malaterre a écrit : In commit cb9e4d10c448 ("[POWERPC] Add support for 750CL Holly board") new functions were added. Since these functions can be made static, make it so. While doing so, it turns out that holly_power_off and holly_halt are unused, so remove them.

[PATCH] powerpc: Make some functions static

2019-03-12 Thread Mathieu Malaterre
In commit cb9e4d10c448 ("[POWERPC] Add support for 750CL Holly board") new functions were added. Since these functions can be made static, make it so. While doing so, it turns out that holly_power_off and holly_halt are unused, so remove them. Silence the following warnings triggered using W=1: