mtd/include/linux/mtd mtd.h,1.43,1.44
David Woodhouse
dwmw2 at infradead.org
Tue May 20 11:37:08 EDT 2003
Update of /home/cvs/mtd/include/linux/mtd
In directory phoenix.infradead.org:/tmp/cvs-serv22967
Modified Files:
mtd.h
Log Message:
fix get_mtd_device
Index: mtd.h
===================================================================
RCS file: /home/cvs/mtd/include/linux/mtd/mtd.h,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -r1.43 -r1.44
--- mtd.h 14 May 2003 22:26:26 -0000 1.43
+++ mtd.h 20 May 2003 15:37:05 -0000 1.44
@@ -236,11 +236,7 @@
extern int add_mtd_device(struct mtd_info *mtd);
extern int del_mtd_device (struct mtd_info *mtd);
-#define get_mtd_device(mtd, num) ___get_mtd_device(mtd, num, 1)
-#undef __get_mtd_device
-#define __get_mtd_device(mtd, num) ___get_mtd_device(mtd, num, 0)
-
-extern struct mtd_info *___get_mtd_device(struct mtd_info *mtd, int num, int count);
+extern struct mtd_info *get_mtd_device(struct mtd_info *mtd, int num);
extern void put_mtd_device(struct mtd_info *mtd);
More information about the linux-mtd-cvs
mailing list