[U-Boot] [PATCH] KS8695: move TIMER_ definitions before code use

Wolfgang Denk wd at denx.de
Sat Sep 10 00:13:02 CEST 2011


Dear Greg Ungerer,

In message <1315570750-472-1-git-send-email-greg.ungerer at opengear.com> you wrote:
> Move the TIMER_ definitions before they are used in KS8695 timer.c code.
> Fixes:
> 
> timer.c: In function `timer_init´:
> timer.c:37: error: `TIMER_COUNT´ undeclared (first use in this function)
> timer.c:37: error: (Each undeclared identifier is reported only once
> timer.c:37: error: for each function it appears in.)
> timer.c:38: error: `TIMER_PULSE´ undeclared (first use in this function)
> 
> Signed-off-by: Greg Ungerer <greg.ungerer at opengear.com>
> ---
>  arch/arm/cpu/arm920t/ks8695/timer.c |   16 ++++++++--------
>  1 files changed, 8 insertions(+), 8 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"The value of marriage is not that adults produce children, but  that
children produce adults."                            - Peter De Vries


More information about the U-Boot mailing list