If kernel/config.h is included in yportenv.h, then yportenv.h must be
[yaffs2.git] / yportenv.h
index a1a2074a19efa67d89126fbde050f43e17cf6a17..b5e043423e14277d53ae0d662c1fdf559db91c1c 100644 (file)
@@ -15,7 +15,7 @@
  *
  * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
  *
- * $Id: yportenv.h,v 1.4 2004-11-22 03:22:25 charles Exp $
+ * $Id: yportenv.h,v 1.6 2005-07-31 00:26:57 charles Exp $
  *
  */
  
 
 
 // Linux kernel
-#include "linux/kernel.h"
-#include "linux/version.h"
-#include "linux/mm.h"
-#include "linux/string.h"
-#include "linux/slab.h"
+#include <linux/config.h>
+#include <linux/kernel.h>
+#include <linux/version.h>
+#include <linux/mm.h>
+#include <linux/string.h>
+#include <linux/slab.h>
 
 #define YCHAR char
 #define YUCHAR unsigned char
@@ -147,6 +148,8 @@ extern unsigned yaffs_traceMask;
 #define YAFFS_TRACE_BUFFERS            0x00000400
 #define YAFFS_TRACE_NANDACCESS         0x00000800
 #define YAFFS_TRACE_GC_DETAIL          0x00001000
+#define YAFFS_TRACE_SCAN_DEBUG         0x00002000
+#define YAFFS_TRACE_MTD                        0x00004000
 #define YAFFS_TRACE_ALWAYS             0x40000000
 #define YAFFS_TRACE_BUG                        0x80000000