Skip to content
  • Vitaly Wool's avatar
    [MTD] [NAND] make oobavail public · 1f92267c
    Vitaly Wool authored
    
    
    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: default avatarVitaly Wool <vwool@ru.mvista.com>
    Signed-off-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
    1f92267c