summaryrefslogtreecommitdiff
path: root/tools/env
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-01-08 22:58:27 +0100
committerWolfgang Denk <wd@denx.de>2008-01-08 22:58:27 +0100
commitc83d7ca4dadd44ae430235077f63b64a11f36f6e (patch)
tree105215e2807aa8f6d8a6e8ee64411b9262e77ddb /tools/env
parent6de66b35426312a21174a9bf0576a094e2904bea (diff)
downloadu-boot-imx-c83d7ca4dadd44ae430235077f63b64a11f36f6e.zip
u-boot-imx-c83d7ca4dadd44ae430235077f63b64a11f36f6e.tar.gz
u-boot-imx-c83d7ca4dadd44ae430235077f63b64a11f36f6e.tar.bz2
Fix compile problem with new env code.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'tools/env')
-rw-r--r--tools/env/fw_env.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/env/fw_env.c b/tools/env/fw_env.c
index bf9d506..e083a5b 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