]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
AVR32: fix timer_init() function
authorSven Schnelle <svens@stackframe.org>
Tue, 4 Oct 2011 19:53:32 +0000 (21:53 +0200)
committerWolfgang Denk <wd@denx.de>
Tue, 20 Dec 2011 22:10:04 +0000 (23:10 +0100)
commitbf0b6313433819899c49d8d6fb30b4d702226f1e
tree7a2dab8a6c3e11edb6ea78d48018d6a793eae2c1
parente570fe8ef2734fddc15e086b7bc344e64c907e81
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