From: Wolfgang Denk Date: Sat, 10 Sep 2011 00:13:02 +0200 Subject: [U-Boot] [PATCH] KS8695: move TIMER_ definitions before code use In-Reply-To: <1315570750-472-1-git-send-email-greg.ungerer@opengear.com> References: <1315570750-472-1-git-send-email-greg.ungerer@opengear.com> Message-ID: <20110909221302.A64EF140875B@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Greg Ungerer, In message <1315570750-472-1-git-send-email-greg.ungerer@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 > --- > 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