mtd/include/linux/mtd partitions.h,1.13,1.14

David Woodhouse dwmw2 at infradead.org
Tue May 20 17:56:31 EDT 2003


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

Modified Files:
	partitions.h 
Log Message:
make pur_partition_parser a #define

Index: partitions.h
===================================================================
RCS file: /home/cvs/mtd/include/linux/mtd/partitions.h,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- partitions.h	16 May 2003 16:33:35 -0000	1.13
+++ partitions.h	20 May 2003 21:56:29 -0000	1.14
@@ -70,10 +70,7 @@
 extern int parse_mtd_partitions(struct mtd_info *master, const char **types, 
 				struct mtd_partition **pparts, unsigned long origin);
 
-static inline void put_partition_parser(struct mtd_part_parser *p)
-{
-	module_put(p->owner);
-}
+#define put_partition_parser(p) do { module_put((p)->owner); } while(0)
 
 #endif
 




More information about the linux-mtd-cvs mailing list