summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/mtdpart.c
diff options
context:
space:
mode:
authorBrian Norris <computersforpeace@gmail.com>2016-10-08 21:23:37 +0200
committerBrian Norris <computersforpeace@gmail.com>2016-10-09 05:56:54 +0200
commit69db4aa44fdd8befc2eccd1313d841c5128c385c (patch)
tree1b84be76e9497231ed8027cf2a22b79fab64a87c /drivers/mtd/mtdpart.c
parentmtd: nand: fix trivial spelling error (diff)
parentmtd: introduce the mtd_pairing_scheme concept (diff)
downloadlinux-69db4aa44fdd8befc2eccd1313d841c5128c385c.tar.xz
linux-69db4aa44fdd8befc2eccd1313d841c5128c385c.zip
Merge tag '4.9/mtd-pairing-scheme' of github.com:linux-nand/linux
Introduction of the MTD pairing scheme concept.
Diffstat (limited to 'drivers/mtd/mtdpart.c')
-rw-r--r--drivers/mtd/mtdpart.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/mtdpart.c b/drivers/mtd/mtdpart.c
index ec852fa9200f..c1f34f04e338 100644
--- a/drivers/mtd/mtdpart.c
+++ b/drivers/mtd/mtdpart.c
@@ -409,6 +409,7 @@ static struct mtd_part *allocate_partition(struct mtd_info *master,
slave->mtd.oobsize = master->oobsize;
slave->mtd.oobavail = master->oobavail;
slave->mtd.subpage_sft = master->subpage_sft;
+ slave->mtd.pairing = master->pairing;
slave->mtd.name = name;
slave->mtd.owner = master->owner;