]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitdc855a2c8c13eb2d0c0225186fc7438893364567
tree06101742bffb98e305dcf9db208e55ed89182d44
parent24870dd7819a25b84ce0db10be4f7e77be3445b0
[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