git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
drivers
/
mtd
/
maps
/
ceiva.c
diff --git
a/drivers/mtd/maps/ceiva.c
b/drivers/mtd/maps/ceiva.c
index
5a95ab3
..
629e6e2
100644
(file)
--- a/
drivers/mtd/maps/ceiva.c
+++ b/
drivers/mtd/maps/ceiva.c
@@
-14,7
+14,6
@@
* $Id: ceiva.c,v 1.11 2004/09/16 23:27:12 gleixner Exp $
*/
* $Id: ceiva.c,v 1.11 2004/09/16 23:27:12 gleixner Exp $
*/
-#include <linux/config.h>
#include <linux/module.h>
#include <linux/types.h>
#include <linux/ioport.h>
#include <linux/module.h>
#include <linux/types.h>
#include <linux/ioport.h>
@@
-123,10
+122,9
@@
static int __init clps_setup_mtd(struct clps_info *clps, int nr, struct mtd_info
/*
* Allocate the map_info structs in one go.
*/
/*
* Allocate the map_info structs in one go.
*/
- maps = k
m
alloc(sizeof(struct map_info) * nr, GFP_KERNEL);
+ maps = k
z
alloc(sizeof(struct map_info) * nr, GFP_KERNEL);
if (!maps)
return -ENOMEM;
if (!maps)
return -ENOMEM;
- memset(maps, 0, sizeof(struct map_info) * nr);
/*
* Claim and then map the memory regions.
*/
/*
* Claim and then map the memory regions.
*/