summaryrefslogtreecommitdiff
path: root/fs/yaffs2/yaffs_mtdif2.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/yaffs2/yaffs_mtdif2.c')
-rw-r--r--fs/yaffs2/yaffs_mtdif2.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/fs/yaffs2/yaffs_mtdif2.c b/fs/yaffs2/yaffs_mtdif2.c
index 5a18725..cd2a2a1 100644
--- a/fs/yaffs2/yaffs_mtdif2.c
+++ b/fs/yaffs2/yaffs_mtdif2.c
@@ -13,6 +13,10 @@
/* mtd interface for YAFFS2 */
+/* XXX U-BOOT XXX */
+#include <common.h>
+#include "asm/errno.h"
+
const char *yaffs_mtdif2_c_version =
"$Id: yaffs_mtdif2.c,v 1.17 2007/02/14 01:09:06 wookey Exp $";
@@ -229,4 +233,3 @@ int nandmtd2_QueryNANDBlock(struct yaffs_DeviceStruct *dev, int blockNo,
else
return YAFFS_FAIL;
}
-