From: Wolfgang Denk <wd@denx.de>
Date: Tue, 8 Jan 2008 21:58:27 +0000 (+0100)
Subject: Fix compile problem with new env code.
X-Git-Tag: v2025.01-rc5-pxa1908~22626^2~49^2~26^2~2
X-Git-Url: http://git.dujemihanovic.xyz/html/static/git-favicon.png?a=commitdiff_plain;h=46f6e5019048b103d7693d5310de0f1cfbaf4c19;p=u-boot.git

Fix compile problem with new env code.

Signed-off-by: Wolfgang Denk <wd@denx.de>
---

diff --git a/tools/env/fw_env.c b/tools/env/fw_env.c
index bf9d50620e..e083a5b11e 100644
--- a/tools/env/fw_env.c
+++ b/tools/env/fw_env.c
@@ -35,6 +35,7 @@
 #ifdef MTD_OLD
 # include <linux/mtd/mtd.h>
 #else
+# define  __user	/* nothing */
 # include <mtd/mtd-user.h>
 #endif