[MTD] [NAND] make oobavail public
authorVitaly Wool <vwool@ru.mvista.com>
Tue, 6 Mar 2007 13:56:34 +0000 (16:56 +0300)
committerDavid Woodhouse <dwmw2@infradead.org>
Thu, 8 Mar 2007 09:17:43 +0000 (09:17 +0000)
commit1f92267c51a514f35ad5b0fd46cb099c0980b679
tree06101742bffb98e305dcf9db208e55ed89182d44
parenteee8abe5de9cbd936b51db292c8d3c406b0e79e7
[MTD] [NAND] make oobavail public

During the MTD rework the oobavail parameter of mtd_info structure has become
private. This is not quite correct in terms of integrity and logic. If we have
means to write to OOB area, then we'd like to know upfront how many bytes out
of OOB are spare per page to be able to adapt to specific cases.
The patch inlined adds the public oobavail parameter.

Signed-off-by: Vitaly Wool <vwool@ru.mvista.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/mtdconcat.c
drivers/mtd/mtdpart.c
drivers/mtd/nand/nand_base.c
drivers/mtd/onenand/onenand_base.c
include/linux/mtd/mtd.h