summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/mtdpart.c
diff options
context:
space:
mode:
authorKaiGai Kohei <kaigai@ak.jp.nec.com>2006-05-18 17:43:53 +0200
committerKaiGai Kohei <kaigai@ak.jp.nec.com>2006-05-18 17:43:53 +0200
commit20a92fc74c5c91c7bc5693d51acc2b99aceb0465 (patch)
tree41bf535f38ff1a29c560bcf622e9b4ef03c2c106 /drivers/mtd/mtdpart.c
parent[JFFS2][XATTR] Fix obvious typo (diff)
parent[MTD] Fix printk format error in gen_probe.c (diff)
downloadlinux-20a92fc74c5c91c7bc5693d51acc2b99aceb0465.tar.xz
linux-20a92fc74c5c91c7bc5693d51acc2b99aceb0465.zip
Merge git://git.infradead.org/mtd-2.6
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 99395911d26f..29ed5abe70c4 100644
--- a/drivers/mtd/mtdpart.c
+++ b/drivers/mtd/mtdpart.c
@@ -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;