|
@@ -722,11 +722,8 @@ int parse_mtd_partitions(struct mtd_info *master, const char **types,
|
|
|
parser = get_partition_parser(*types);
|
|
parser = get_partition_parser(*types);
|
|
|
if (!parser && !request_module("%s", *types))
|
|
if (!parser && !request_module("%s", *types))
|
|
|
parser = get_partition_parser(*types);
|
|
parser = get_partition_parser(*types);
|
|
|
- if (!parser) {
|
|
|
|
|
- printk(KERN_NOTICE "%s partition parsing not available\n",
|
|
|
|
|
- *types);
|
|
|
|
|
|
|
+ if (!parser)
|
|
|
continue;
|
|
continue;
|
|
|
- }
|
|
|
|
|
ret = (*parser->parse_fn)(master, pparts, origin);
|
|
ret = (*parser->parse_fn)(master, pparts, origin);
|
|
|
if (ret > 0) {
|
|
if (ret > 0) {
|
|
|
printk(KERN_NOTICE "%d %s partitions found on MTD device %s\n",
|
|
printk(KERN_NOTICE "%d %s partitions found on MTD device %s\n",
|