public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/2] Fixed build error due to #define of _LINUX_STRING_H_ in 82559_eeprom.c
@ 2008-11-20 19:28 Graeme Russ
  2008-12-09 23:32 ` Wolfgang Denk
  0 siblings, 1 reply; 2+ messages in thread
From: Graeme Russ @ 2008-11-20 19:28 UTC (permalink / raw)
  To: u-boot

Signed-off-by: Graeme Russ <graeme.russ@gmail.com>
---

82559_eeprom.c is only compiled for i386 arch's (see /examples/Makefile lines
92-94). This modification should only impact sc520_cdp and sc520_spunk which
need this define removed in order to compile

 examples/82559_eeprom.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/examples/82559_eeprom.c b/examples/82559_eeprom.c
index d99af26..5e2eee9 100644
--- a/examples/82559_eeprom.c
+++ b/examples/82559_eeprom.c
@@ -19,7 +19,6 @@
  */

 #define _PPC_STRING_H_		/* avoid unnecessary str/mem functions */
-#define _LINUX_STRING_H_	/* avoid unnecessary str/mem functions */

 #include <common.h>
 #include <exports.h>
--
1.5.4.3

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

end of thread, other threads:[~2008-12-09 23:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-20 19:28 [U-Boot] [PATCH 1/2] Fixed build error due to #define of _LINUX_STRING_H_ in 82559_eeprom.c Graeme Russ
2008-12-09 23:32 ` Wolfgang Denk

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