mtd/drivers/mtd redboot.c,1.14,1.15
David Woodhouse
dwmw2 at infradead.org
Tue Aug 10 03:55:19 EDT 2004
Update of /home/cvs/mtd/drivers/mtd
In directory phoenix.infradead.org:/tmp/cvs-serv14451
Modified Files:
redboot.c
Log Message:
Make it build -- patch from dmarlin
Index: redboot.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/redboot.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- redboot.c 7 Aug 2004 21:54:57 -0000 1.14
+++ redboot.c 10 Aug 2004 07:55:16 -0000 1.15
@@ -8,6 +8,7 @@
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/init.h>
+#include <linux/vmalloc.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/partitions.h>
@@ -53,7 +54,7 @@
static char nullstring[] = "unallocated";
#endif
- buf = vmalloc(master->erasesize, GFP_KERNEL);
+ buf = vmalloc(master->erasesize);
if (!buf)
return -ENOMEM;
More information about the linux-mtd-cvs
mailing list