public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] common/lcd.c patch
@ 2004-11-07 23:38 Andre Renaud
  2005-04-03 22:55 ` Wolfgang Denk
  0 siblings, 1 reply; 2+ messages in thread
From: Andre Renaud @ 2004-11-07 23:38 UTC (permalink / raw)
  To: u-boot

There is a minor bug in common/lcd.c: if you do not define
CONFIG_MPC823, it does not include watchdog.h, but WATCHDOG_RESET is
used several times in the code outside of #ifdef blocks. Moving the
#include statement out of the #ifdef block fixes it.

I've attached what I think it the appropriate patch.

Andre Renaud

-------------- next part --------------
A non-text attachment was scrubbed...
Name: lcd.diff
Type: text/x-patch
Size: 246 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20041108/42e26e4f/attachment.bin 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [U-Boot-Users] common/lcd.c patch
  2004-11-07 23:38 [U-Boot-Users] common/lcd.c patch Andre Renaud
@ 2005-04-03 22:55 ` Wolfgang Denk
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2005-04-03 22:55 UTC (permalink / raw)
  To: u-boot

In message <1099870727.32262.7.camel@benmore> you wrote:
> 
> There is a minor bug in common/lcd.c: if you do not define
> CONFIG_MPC823, it does not include watchdog.h, but WATCHDOG_RESET is
> used several times in the code outside of #ifdef blocks. Moving the
> #include statement out of the #ifdef block fixes it.

You are right. Thanks for pointing out.

> I've attached what I think it the appropriate patch.

Umm.. I'm sorry, but a "patch" like this is useless. Pelase  see  the
README  for  instructions  how  to create a proper patch. [No need to
resubmit, though - I changed the file manually.]

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Unser Kopf ist rund, damit das Denken die Richtung wechseln kann.
                                                   -- Francis Picabia

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-04-03 22:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-07 23:38 [U-Boot-Users] common/lcd.c patch Andre Renaud
2005-04-03 22:55 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox