git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
[pandora-kernel.git]
/
drivers
/
mtd
/
maps
/
physmap_of.c
diff --git
a/drivers/mtd/maps/physmap_of.c
b/drivers/mtd/maps/physmap_of.c
index
101ee6e
..
bbdd219
100644
(file)
--- a/
drivers/mtd/maps/physmap_of.c
+++ b/
drivers/mtd/maps/physmap_of.c
@@
-218,7
+218,7
@@
static int __devinit of_flash_probe(struct of_device *dev,
dev_set_drvdata(&dev->dev, info);
- mtd_list = kzalloc(sizeof(
struct mtd_info
) * count, GFP_KERNEL);
+ mtd_list = kzalloc(sizeof(
*mtd_list
) * count, GFP_KERNEL);
if (!mtd_list)
goto err_flash_remove;