mtd/include/linux/mtd compatmac.h,1.63,1.64 mtd.h,1.55,1.56
dmarlin at infradead.org
dmarlin at infradead.org
Mon Aug 9 14:46:07 EDT 2004
Update of /home/cvs/mtd/include/linux/mtd
In directory phoenix.infradead.org:/tmp/cvs-serv8694/include/linux/mtd
Modified Files:
compatmac.h mtd.h
Log Message:
Updated to allow a build from a 2.4.24 kernel tree.
Index: compatmac.h
===================================================================
RCS file: /home/cvs/mtd/include/linux/mtd/compatmac.h,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -r1.63 -r1.64
--- compatmac.h 14 Nov 2003 19:50:04 -0000 1.63
+++ compatmac.h 9 Aug 2004 18:46:04 -0000 1.64
@@ -186,4 +186,9 @@
(type *)( (char *)__mptr - offsetof(type,member) );})
#endif
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0)
+#define kvec iovec
+#define __user
+#endif
+
#endif /* __LINUX_MTD_COMPATMAC_H__ */
Index: mtd.h
===================================================================
RCS file: /home/cvs/mtd/include/linux/mtd/mtd.h,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -r1.55 -r1.56
--- mtd.h 9 Aug 2004 13:19:45 -0000 1.55
+++ mtd.h 9 Aug 2004 18:46:04 -0000 1.56
@@ -19,6 +19,7 @@
#include <linux/module.h>
#include <linux/uio.h>
+#include <linux/mtd/compatmac.h>
#include <mtd/mtd-abi.h>
#define MTD_CHAR_MAJOR 90
More information about the linux-mtd-cvs
mailing list