projects
/
yaffs
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
*** empty log message ***
[yaffs/.git]
/
yaffs_ramem.c
diff --git
a/yaffs_ramem.c
b/yaffs_ramem.c
index 7143dffee677df1df58b0245f6099dff9a0b564b..2c8d0bce05bb43249f622c329d7d4aecc11ae8ac 100644
(file)
--- a/
yaffs_ramem.c
+++ b/
yaffs_ramem.c
@@
-15,6
+15,10
@@
//yaffs_ramem.c
// Since this creates the RAM block at start up it is pretty useless for testing the scanner.
//yaffs_ramem.c
// Since this creates the RAM block at start up it is pretty useless for testing the scanner.
+#ifndef __KERNEL__
+#define YAFFS_RAM_ENABLED
+#endif
+
#ifdef YAFFS_RAM_ENABLED
#include "yportenv.h"
#ifdef YAFFS_RAM_ENABLED
#include "yportenv.h"