X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;f=yaffs_ramem.c;h=2c8d0bce05bb43249f622c329d7d4aecc11ae8ac;hb=47e27ba76801d146d5b2ae8edc88a98aab8cc1e8;hp=7143dffee677df1df58b0245f6099dff9a0b564b;hpb=cefeada5db633fd3c37cde66e2e62c73052c18bd;p=yaffs%2F.git diff --git a/yaffs_ramem.c b/yaffs_ramem.c index 7143dff..2c8d0bc 100644 --- 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. +#ifndef __KERNEL__ +#define YAFFS_RAM_ENABLED +#endif + #ifdef YAFFS_RAM_ENABLED #include "yportenv.h"