From: charles Date: Tue, 20 Sep 2005 05:23:41 +0000 (+0000) Subject: Take out CONFIG_YAFFS_YAFFS1s for easier build X-Git-Tag: pre-name-change~403 X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=commitdiff_plain;h=d09bd709ff5af196b86ccf11b403dc588ad378f6 Take out CONFIG_YAFFS_YAFFS1s for easier build --- diff --git a/yaffs_mtdif.c b/yaffs_mtdif.c index 9f2b3ab..63f73f0 100644 --- a/yaffs_mtdif.c +++ b/yaffs_mtdif.c @@ -14,11 +14,10 @@ */ const char *yaffs_mtdif_c_version = - "$Id: yaffs_mtdif.c,v 1.10 2005-08-11 01:07:43 marty Exp $"; + "$Id: yaffs_mtdif.c,v 1.11 2005-09-20 05:23:41 charles Exp $"; #include "yportenv.h" -#ifdef CONFIG_YAFFS_YAFFS1 #include "yaffs_mtdif.h" @@ -155,4 +154,3 @@ int nandmtd_InitialiseNAND(yaffs_Device * dev) return YAFFS_OK; } -#endif /* CONFIG_YAFFS_YAFFS1 */ diff --git a/yaffs_mtdif2.c b/yaffs_mtdif2.c index 0dfb942..ee46296 100644 --- a/yaffs_mtdif2.c +++ b/yaffs_mtdif2.c @@ -16,11 +16,10 @@ /* mtd interface for YAFFS2 */ const char *yaffs_mtdif2_c_version = - "$Id: yaffs_mtdif2.c,v 1.7 2005-08-11 01:07:43 marty Exp $"; + "$Id: yaffs_mtdif2.c,v 1.8 2005-09-20 05:23:41 charles Exp $"; #include "yportenv.h" -#ifdef CONFIG_YAFFS_YAFFS1 #include "yaffs_mtdif2.h" @@ -190,4 +189,3 @@ int nandmtd2_QueryNANDBlock(struct yaffs_DeviceStruct *dev, int blockNo, return YAFFS_FAIL; } -#endif