From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anatolij Gustschin Date: Tue, 13 Dec 2011 21:45:26 +0100 Subject: [U-Boot] [PATCH v3] AVR32: fix timer_init() function In-Reply-To: <1443988412-13421-1-git-send-email-svens@stackframe.org> References: <1443988412-13421-1-git-send-email-svens@stackframe.org> Message-ID: <20111213214526.04262d8a@wker> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sun, 4 Oct 2015 21:53:32 +0200 Sven Schnelle 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 > --- > 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