summaryrefslogtreecommitdiff
path: root/yaffs_mtdif.c
diff options
context:
space:
mode:
authormarty <marty>2005-07-31 06:47:12 +0000
committermarty <marty>2005-07-31 06:47:12 +0000
commit399e637051f0912a625e74cb072cbc8528b054f8 (patch)
tree91724fb4ad4c4f849af7c1852dc6b88ebb3da4ef /yaffs_mtdif.c
parentdcc469f5f4c2a26d7656d752739958a7e2329699 (diff)
If kernel/config.h is included in yportenv.h, then yportenv.h must be
always included. Move it outside of ifdef CONFIG_YAFFS_MTD_ENABLED. added in additional configuration conditionals to shut up gcc about defined but not used functions in yaffs_fs.c added in NOTYET around functions that aren't currently used in yaffs_tagscompat.c to shut up gcc about defined but not used function.
Diffstat (limited to 'yaffs_mtdif.c')
-rw-r--r--yaffs_mtdif.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/yaffs_mtdif.c b/yaffs_mtdif.c
index 69d58fb..eeb0d8a 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.5 2005-07-31 06:47:12 marty Exp $";
#include "yportenv.h"
+#ifdef CONFIG_YAFFS_MTD_ENABLED
+
#include "yaffs_mtdif.h"
#include "linux/mtd/mtd.h"