cris: fasttimer: fix mixed declarations and code compile warning
authorNiklas Cassel <nks@flawful.org>
Thu, 22 Sep 2016 14:12:48 +0000 (16:12 +0200)
committerJesper Nilsson <jespern@axis.com>
Thu, 22 Sep 2016 14:26:29 +0000 (16:26 +0200)
commitd355bcb0d82835db142db3c469541c98d5d9091c
tree4a985c272424c9f23be4b7449b7cfc71d509195a
parent506823f6e7a349ba3f26f03f162733af64c300cc
cris: fasttimer: fix mixed declarations and code compile warning

arch/cris/arch-v32/kernel/fasttimer.c: In function â€˜timer_trig_handler’:
arch/cris/arch-v32/kernel/fasttimer.c:353:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  fast_timer_function_type *f;
  ^

Signed-off-by: Niklas Cassel <nks@flawful.org>
Signed-off-by: Jesper Nilsson <jespern@axis.com>
arch/cris/arch-v32/kernel/fasttimer.c