kernel: drop unneeded modification of mtd_add_partition function
authorrmilecki <rmilecki@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 4 Dec 2015 09:33:08 +0000 (09:33 +0000)
committerrmilecki <rmilecki@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 4 Dec 2015 09:33:08 +0000 (09:33 +0000)
commiteafef56717328004904f9c7a2b3e2d3b1bfa923f
treed236332ef1a661e214e3a791622dac01d33b4e9b
parent137692160030c40040a21f6ce9bd0eef6f9a32a2
kernel: drop unneeded modification of mtd_add_partition function

In old days mtd_add_partition was checking for partitions overlapping
which was breaking our splitting feature. We had to modify this function
by adding an extra bool dup_check parameter. Upstream commit:
3a434f66e6da ("mtd: part: Remove partition overlap checks")
removed that check so we don't need our modification anymore.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47748 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/generic/patches-4.4/400-mtd-add-rootfs-split-support.patch
target/linux/generic/patches-4.4/401-mtd-add-support-for-different-partition-parser-types.patch
target/linux/generic/patches-4.4/402-mtd-use-typed-mtd-parsers-for-rootfs-and-firmware-split.patch
target/linux/generic/patches-4.4/404-mtd-add-more-helper-functions.patch
target/linux/generic/patches-4.4/411-mtd-partial_eraseblock_write.patch
target/linux/generic/patches-4.4/412-mtd-partial_eraseblock_unlock.patch