X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=mtdemul%2Fnandemul2k.c;h=7ee030836b08d4910ab39067231e4acb98a0b823;hp=2980f9adcb791521e6798de634f5210b9e2a729f;hb=f63988705f6f79c3e721dcdc76b0ab1ea93ab110;hpb=37fd9ec3587b5c4d497a7682522a9adfab682e51 diff --git a/mtdemul/nandemul2k.c b/mtdemul/nandemul2k.c index 2980f9a..7ee0308 100644 --- a/mtdemul/nandemul2k.c +++ b/mtdemul/nandemul2k.c @@ -27,14 +27,16 @@ #include #include #include +#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0)) #include +#endif #include #include #include #include +#include "../yaffs_nandemul2k.h" -#define T(f,x) printk x #define ALLOCATE(x) kmalloc(x,GFP_KERNEL) #define FREE(x) kfree(x)