• V
    [MTD] [NAND] make oobavail public · 1f92267c
    Vitaly Wool 提交于
    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: NVitaly Wool <vwool@ru.mvista.com>
    Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
    1f92267c
mtd.h 8.0 KB