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
Input: elantech - add more IC body types to the list
[pandora-kernel.git]
/
drivers
/
mtd
/
ofpart.c
diff --git
a/drivers/mtd/ofpart.c
b/drivers/mtd/ofpart.c
index
64be8f0
..
d9127e2
100644
(file)
--- a/
drivers/mtd/ofpart.c
+++ b/
drivers/mtd/ofpart.c
@@
-121,7
+121,7
@@
static int parse_ofoldpart_partitions(struct mtd_info *master,
nr_parts = plen / sizeof(part[0]);
*pparts = kzalloc(nr_parts * sizeof(*(*pparts)), GFP_KERNEL);
- if (!pparts)
+ if (!
*
pparts)
return -ENOMEM;
names = of_get_property(dp, "partition-names", &plen);