
13 Dec
2011
13 Dec
'11
9:45 p.m.
On Sun, 4 Oct 2015 21:53:32 +0200 Sven Schnelle svens@stackframe.org wrote:
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
Changes for v3:
- return -EINVAL regardless of the return value
Changes for v2:
- Coding style
arch/avr32/cpu/interrupts.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-)
Applied to u-boot-staging/agust@denx.de after fixing the date to patch reception date from email header. Thanks.
Anatolij