• A
    [MTD] add get and put methods · 9fe912ce
    Artem Bityutskiy 提交于
    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: NArtem Bityutskiy <dedekind@infradead.org>
    9fe912ce
mtdcore.c 9.4 KB