Mercurial > yaffs-ecoscentric-gpl
changeset 30:933cd8334ed0
Add missing #include <linux/config.h>
Needed to compile the code with a Makefile from the Linux tree.
| author | luc <luc> |
|---|---|
| date | Fri, 29 Jul 2005 19:57:38 +0000 |
| parents | 28edf97b9d9a |
| children | d45f9e59b6d3 |
| files | yaffs_ecc.c yaffs_ramem.c yaffs_ramem2k.c |
| diffstat | 3 files changed, 10 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/yaffs_ecc.c +++ b/yaffs_ecc.c @@ -29,8 +29,11 @@ // Bit 0 of each entry indicates whether the entry has an odd or even parity, and therefore // this bytes influence on the line parity. -const char *yaffs_ecc_c_version = "$Id: yaffs_ecc.c,v 1.2 2005-03-16 04:00:36 charles Exp $"; +const char *yaffs_ecc_c_version = "$Id: yaffs_ecc.c,v 1.3 2005-07-29 19:57:38 luc Exp $"; +#ifdef __KERNEL__ +#include <linux/config.h> +#endif #include "yaffs_ecc.h"
--- a/yaffs_ramem.c +++ b/yaffs_ramem.c @@ -15,10 +15,12 @@ //yaffs_ramem.c // Since this creates the RAM block at start up it is pretty useless for testing the scanner. -const char *yaffs_ramem_c_version = "$Id: yaffs_ramem.c,v 1.2 2005-07-19 20:41:59 charles Exp $"; +const char *yaffs_ramem_c_version = "$Id: yaffs_ramem.c,v 1.3 2005-07-29 19:57:38 luc Exp $"; #ifndef __KERNEL__ #define CONFIG_YAFFS_RAM_ENABLED +#else +#include <linux/config.h> #endif #ifdef CONFIG_YAFFS_RAM_ENABLED
--- a/yaffs_ramem2k.c +++ b/yaffs_ramem2k.c @@ -15,10 +15,12 @@ //yaffs_ramem2k.c: RAM emulation in-kernel for 2K pages (YAFFS2) -const char *yaffs_ramem2k_c_version = "$Id: yaffs_ramem2k.c,v 1.2 2005-04-24 09:26:08 charles Exp $"; +const char *yaffs_ramem2k_c_version = "$Id: yaffs_ramem2k.c,v 1.3 2005-07-29 19:57:38 luc Exp $"; #ifndef __KERNEL__ #define CONFIG_YAFFS_RAM_ENABLED +#else +#include <linux/config.h> #endif #ifdef CONFIG_YAFFS_RAM_ENABLED
