Skip to content

Commit

Permalink
[MTD] generic: propagate oobavail to MTD partitions
Browse files Browse the repository at this point in the history
'oobavail' parameter of mtd_info structure is now propagated to the MTD
partitions

Signed-off-by: Vitaly Wool <vwool@ru.mvista.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
  • Loading branch information
Vitaly Wool authored and David Woodhouse committed May 17, 2006
1 parent 599fb32 commit ae282d4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/mtd/mtdpart.c
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,7 @@ int add_mtd_partitions(struct mtd_info *master,
slave->mtd.size = parts[i].size;
slave->mtd.oobblock = master->oobblock;
slave->mtd.oobsize = master->oobsize;
slave->mtd.oobavail = master->oobavail;
slave->mtd.ecctype = master->ecctype;
slave->mtd.eccsize = master->eccsize;

Expand Down

0 comments on commit ae282d4

Please sign in to comment.