]> git.dujemihanovic.xyz Git - u-boot.git/commit
KS8695: move TIMER_ definitions before code use
authorGreg Ungerer <greg.ungerer@opengear.com>
Fri, 9 Sep 2011 12:19:10 +0000 (22:19 +1000)
committerWolfgang Denk <wd@denx.de>
Fri, 9 Sep 2011 22:12:13 +0000 (00:12 +0200)
commit3a52cfa5cc402c06bb80ce46eedb5496150d4046
tree9e9412fb3a0b0d09ec63abfc1a23c472e47cce4a
parent041c542219af7f31c372d89b4c7c6f4c8064a8ce
KS8695: move TIMER_ definitions before code use

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@opengear.com>
arch/arm/cpu/arm920t/ks8695/timer.c