*/
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.12 2005-09-20 23:14:14 charles Exp $";
#include "yportenv.h"
-#ifdef CONFIG_YAFFS_YAFFS1
#include "yaffs_mtdif.h"
__u8 *spareAsBytes = (__u8 *) spare;
if (data && spare) {
- if (dev->useNANDECC) { /* Careful, this call adds 2 ints */
+ if (dev->useNANDECC) {
+ /* Careful, this call adds 2 ints */
/* to the end of the spare data. Calling function */
/* should allocate enough memory for spare, */
/* i.e. [YAFFS_BYTES_PER_SPARE+2*sizeof(int)]. */
return YAFFS_OK;
}
-#endif /* CONFIG_YAFFS_YAFFS1 */