kernel: allow rootfs splitters to work without CONFIG_MTD_ROOTFS_SPLIT

We want to remove that old (built-in) splitter at some point.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42804
This commit is contained in:
Rafał Miłecki
2014-10-06 13:49:11 +00:00
parent 8691d75917
commit b87ff2cae7
2 changed files with 16 additions and 13 deletions

View File

@@ -18,7 +18,7 @@
}
if (slave->offset == MTDPART_OFS_RETAIN) {
slave->offset = cur_offset;
@@ -985,6 +983,24 @@ int mtd_is_partition(const struct mtd_in
@@ -984,6 +982,24 @@ int mtd_is_partition(const struct mtd_in
}
EXPORT_SYMBOL_GPL(mtd_is_partition);