rootfs_split: Allow using MTDPART_OFS_APPEND macro for offset of rootfs.
authorFelix Fietkau <nbd@openwrt.org>
Sun, 17 Apr 2011 18:32:28 +0000 (18:32 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 17 Apr 2011 18:32:28 +0000 (18:32 +0000)
commit5848f94f82e36a3f9e0844147a01ac5f1479c7ef
treea1155dec82f4b85eae6aecfc37443bc6040b7056
parenta4f555692ab4cb82a1f9d48a371e5b6dae58ebbc
rootfs_split: Allow using MTDPART_OFS_APPEND macro for offset of rootfs.

Use offset from struct mtd_part instead of struct mtd_partition for defining
the new partitions. This enables the usage of MTDPART_OFS_APPEND macro in
struct mtd_partition.

Signed-off-by: Jochen Friedrich <jochen@scram.de>
SVN-Revision: 26705
target/linux/generic/patches-2.6.30/065-rootfs_split.patch
target/linux/generic/patches-2.6.31/065-rootfs_split.patch
target/linux/generic/patches-2.6.32/065-rootfs_split.patch
target/linux/generic/patches-2.6.36/065-rootfs_split.patch
target/linux/generic/patches-2.6.37/400-rootfs_split.patch
target/linux/generic/patches-2.6.38/400-rootfs_split.patch
target/linux/generic/patches-2.6.39/400-rootfs_split.patch