[U-Boot] [PATCH v3] AVR32: fix timer_init() function
Anatolij Gustschin
agust at denx.de
Tue Dec 13 21:45:26 CET 2011
On Sun, 4 Oct 2015 21:53:32 +0200
Sven Schnelle <svens at 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 at 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 at denx.de after fixing the
date to patch reception date from email header. Thanks.
Anatolij
More information about the U-Boot
mailing list