mtd/drivers/mtd mtdblock-24.c,1.3,1.4

David Woodhouse dwmw2 at infradead.org
Thu May 15 12:52:39 EDT 2003


Update of /home/cvs/mtd/drivers/mtd
In directory phoenix.infradead.org:/tmp/cvs-serv30170

Modified Files:
	mtdblock-24.c 
Log Message:
Fix notifier struct.


Index: mtdblock-24.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/mtdblock-24.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- mtdblock-24.c	9 May 2003 22:53:49 -0000	1.3
+++ mtdblock-24.c	15 May 2003 16:52:35 -0000	1.4
@@ -27,9 +27,8 @@
 static void mtd_notify_add(struct mtd_info* mtd);
 static void mtd_notify_remove(struct mtd_info* mtd);
 static struct mtd_notifier notifier = {
-        mtd_notify_add,
-        mtd_notify_remove,
-        NULL
+        .add = mtd_notify_add,
+        .remove = mtd_notify_remove,
 };
 static devfs_handle_t devfs_dir_handle = NULL;
 static devfs_handle_t devfs_rw_handle[MAX_MTD_DEVICES];




More information about the linux-mtd-cvs mailing list