mtd/drivers/mtd/maps plat-ram.c,1.2,1.3
gleixner at infradead.org
gleixner at infradead.org
Sat Mar 19 17:41:30 EST 2005
Update of /home/cvs/mtd/drivers/mtd/maps
In directory phoenix.infradead.org:/tmp/cvs-serv5806
Modified Files:
plat-ram.c
Log Message:
MTD: plat-ram.c Make it usable on non ARM platforms
Use memset instead of ARM only memzero function
Index: plat-ram.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/maps/plat-ram.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- plat-ram.c 14 Mar 2005 20:33:19 -0000 1.2
+++ plat-ram.c 19 Mar 2005 22:41:27 -0000 1.3
@@ -153,7 +153,7 @@
goto exit_error;
}
- memzero(info, sizeof(*info));
+ memset(info, 0, sizeof(*info));
dev_set_drvdata(dev, info);
info->dev = dev;
More information about the linux-mtd-cvs
mailing list