mtd/include/linux/mtd compatmac.h,1.75,1.76

bjd at infradead.org bjd at infradead.org
Thu Jun 30 08:16:00 EDT 2005


Update of /home/cvs/mtd/include/linux/mtd
In directory phoenix.infradead.org:/tmp/cvs-serv15893/include/linux/mtd

Modified Files:
	compatmac.h 
Log Message:
Modified MTD_FREEZE_FLAGS to take an argument which either gets
passed to try_to_freeze() or gets thrown away.


Index: compatmac.h
===================================================================
RCS file: /home/cvs/mtd/include/linux/mtd/compatmac.h,v
retrieving revision 1.75
retrieving revision 1.76
diff -u -r1.75 -r1.76
--- compatmac.h	30 Jun 2005 11:57:42 -0000	1.75
+++ compatmac.h	30 Jun 2005 12:15:57 -0000	1.76
@@ -212,9 +212,9 @@
 #endif
 
 #if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,12)
-#define MTD_FREEZE_FLAGS
+#define MTD_FREEZE_FLAGS(x)
 #else
-#define MTD_FREEZE_FLAGS (0)
+#define MTD_FREEZE_FLAGS(x) (x)
 #endif
 
 #ifndef list_for_each_entry_safe





More information about the linux-mtd-cvs mailing list