projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[adm5120] fix switch_driver to avoid segfaults
[openwrt.git]
/
target
/
linux
/
adm5120-2.6
/
files
/
drivers
/
mtd
/
maps
/
adm5120_mtd.c
diff --git
a/target/linux/adm5120-2.6/files/drivers/mtd/maps/adm5120_mtd.c
b/target/linux/adm5120-2.6/files/drivers/mtd/maps/adm5120_mtd.c
index
3abad32
..
ba36298
100644
(file)
--- a/
target/linux/adm5120-2.6/files/drivers/mtd/maps/adm5120_mtd.c
+++ b/
target/linux/adm5120-2.6/files/drivers/mtd/maps/adm5120_mtd.c
@@
-443,7
+443,7
@@
int __init init_adm5120_map(void)
parts = init_mtd_partitions(adm5120_mtd, size);
for (i = 0; parts[i].name; i++);
-
ret = add_mtd_partitions(adm5120_mtd, parts, i);
+ ret = add_mtd_partitions(adm5120_mtd, parts, i);
if (ret) {
printk(KERN_ERR "Flash: add_mtd_partitions failed\n");
This page took
0.023335 seconds
and
4
git commands to generate.