• Artem Bityutskiy's avatar
    [MTD] add get and put methods · 9fe912ce
    Artem Bityutskiy authored
    This patch adds get_device() and put_device() methods to the MTD description
    structure (struct mtd_info). These methods are called by MTD whenever the MTD
    device is get or put. They are needed when the underlying driver is something
    smarter then just flash chip driver, for example UBI.
    Signed-off-by: default avatarArtem Bityutskiy <dedekind@infradead.org>
    9fe912ce
mtdcore.c 9.43 KB