X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=yaffs_mtdif.c;h=13df3d98a8faa7bd4b71b641606f6b445e994786;hp=69d58fb96a5cf41114a6703520e706741eee7655;hb=db670e4a90555c2809667b3a032e08ca26d23e8c;hpb=60cbacc6973295a28491aa4964d0141cc0b6cb27 diff --git a/yaffs_mtdif.c b/yaffs_mtdif.c index 69d58fb..13df3d9 100644 --- a/yaffs_mtdif.c +++ b/yaffs_mtdif.c @@ -13,12 +13,12 @@ * */ -const char *yaffs_mtdif_c_version = "$Id: yaffs_mtdif.c,v 1.4 2005-07-31 04:08:08 marty Exp $"; - -#ifdef CONFIG_YAFFS_MTD_ENABLED +const char *yaffs_mtdif_c_version = "$Id: yaffs_mtdif.c,v 1.6 2005-07-31 08:38:41 marty Exp $"; #include "yportenv.h" +#ifdef CONFIG_YAFFS_YAFFS1 + #include "yaffs_mtdif.h" #include "linux/mtd/mtd.h" @@ -159,5 +159,5 @@ int nandmtd_InitialiseNAND(yaffs_Device *dev) return YAFFS_OK; } -#endif // CONFIG_YAFFS_MTD_ENABLED +#endif // CONFIG_YAFFS_YAFFS1