AVR32: fix timer_init() function
authorSven Schnelle <svens@stackframe.org>
Tue, 4 Oct 2011 19:53:32 +0000 (21:53 +0200)
committerAnatolij Gustschin <agust@denx.de>
Tue, 20 Dec 2011 21:28:51 +0000 (22:28 +0100)
commitc0e6723ee4b98fa0bda48028568bc3f853682567
tree06da4a8179252e1eb1159849619edd3d64b3c498
parent901de79a3792c81aefcbf207a34049e63f21362b
AVR32: fix timer_init() function

timer_init() now returns an int (the error code) instead of void.
This makes compilation fail with:

interrupts.c:111: error: conflicting types for 'timer_init'
/home/svens/u-boot/u-boot/include/common.h:246: error: previous
declaration of 'timer_init' was here
make[1]: *** [interrupts.o] Error 1

Signed-off-by: Sven Schnelle <svens@stackframe.org>
Acked-by: Andreas Bießmann <andreas.devel@googlemail.com>
Signed-off-by: Anatolij Gustschin <agust@denx.de>
arch/avr32/cpu/interrupts.c