[U-Boot] [PATCH 1/2] Fixed build error due to #define of _LINUX_STRING_H_ in 82559_eeprom.c

Graeme Russ graeme.russ at gmail.com
Thu Nov 20 20:28:05 CET 2008


Signed-off-by: Graeme Russ <graeme.russ at 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





More information about the U-Boot mailing list