Re: [PATCH 1/8] clocksource: armada-xp: always register local_timer_ops

2013-07-05 Thread Stephen Boyd
On 07/05, Gregory CLEMENT wrote: > On 07/05/2013 06:23 PM, Arnd Bergmann wrote: > > The call to local_timer_register is hidden behind an #ifdef, which > > turns the armada_370_xp_local_timer_ops into a potentially unused > > variable, causing this warning: > > > > time-armada-370-xp.c:208:31: warn

Re: [PATCH 1/8] clocksource: armada-xp: always register local_timer_ops

2013-07-05 Thread Gregory CLEMENT
On 07/05/2013 06:23 PM, Arnd Bergmann wrote: > The call to local_timer_register is hidden behind an #ifdef, which > turns the armada_370_xp_local_timer_ops into a potentially unused > variable, causing this warning: > > time-armada-370-xp.c:208:31: warning: 'armada_370_xp_local_timer_ops' defined

[PATCH 1/8] clocksource: armada-xp: always register local_timer_ops

2013-07-05 Thread Arnd Bergmann
The call to local_timer_register is hidden behind an #ifdef, which turns the armada_370_xp_local_timer_ops into a potentially unused variable, causing this warning: time-armada-370-xp.c:208:31: warning: 'armada_370_xp_local_timer_ops' defined but not used [-Wunused-variable] static struct local_