[U-Boot] [PATCH 1/5] coldfire: Change timer_init return type from void to int
Mike Frysinger
vapier at gentoo.org
Tue Aug 30 17:10:59 CEST 2011
On Tuesday, August 30, 2011 09:00:10 stany MARCEL wrote:
> --- a/arch/m68k/cpu/mcf547x_8x/slicetimer.c
> +++ b/arch/m68k/cpu/mcf547x_8x/slicetimer.c
>
> -void timer_init(void)
> +int timer_init(void)
you should have gotten a build error as the prototype is in common.h. so
please add an include for common.h to this file.
> --- a/arch/m68k/lib/board.c
> +++ b/arch/m68k/lib/board.c
>
> -extern void timer_init(void);
> +extern int timer_init(void);
drop the extern and include common.h
> --- a/arch/m68k/lib/time.c
> +++ b/arch/m68k/lib/time.c
>
> -void timer_init(void)
> +int timer_init(void)
include common.h in this file too
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20110830/ee8de740/attachment.pgp
More information about the U-Boot
mailing list