Silly Marty, picked wrong guard for moduleconfig.h
[yaffs2.git] / moduleconfig.h
index a8684c3cbfc34daffff9f501a224c9eed30b3a6c..2809701f79775e9737ddab54a21f11d87353461b 100644 (file)
@@ -1,7 +1,7 @@
 #ifndef __YAFFS_CONFIG_H__
 #define __YAFFS_CONFIG_H__
 
-#ifdef KBUILD_MODNAME
+#ifdef YAFFS_OUT_OF_TREE
 #define CONFIG_YAFFS_FS
 #define CONFIG_YAFFS_YAFFS1
 #define CONFIG_YAFFS_YAFFS2