Re: [PATCH] ARM: at91: pm: change at91_pm_set_standby() to static

2015-03-12 Thread Nicolas Ferre
Le 04/03/2015 02:44, Wenyou Yang a écrit : > Since at91_pm_set_standby() will not be used out of the pm.c file, > change its attribute from extern to static, remove its declaration as well. > > void at91_pm_set_standby(void (*at91_standby)(void)) > --> > static void at91_pm_set_standby(void (*at91

Re: [PATCH] ARM: at91: pm: change at91_pm_set_standby() to static

2015-03-03 Thread Alexandre Belloni
On 04/03/2015 at 09:44:45 +0800, Wenyou Yang wrote : > Since at91_pm_set_standby() will not be used out of the pm.c file, > change its attribute from extern to static, remove its declaration as well. > > void at91_pm_set_standby(void (*at91_standby)(void)) > --> > static void at91_pm_set_standby(v

[PATCH] ARM: at91: pm: change at91_pm_set_standby() to static

2015-03-03 Thread Wenyou Yang
Since at91_pm_set_standby() will not be used out of the pm.c file, change its attribute from extern to static, remove its declaration as well. void at91_pm_set_standby(void (*at91_standby)(void)) --> static void at91_pm_set_standby(void (*at91_standby)(void)) Signed-off-by: Wenyou Yang --- arch