Skip to content
Commit 9fe912ce authored by Artem Bityutskiy's avatar Artem Bityutskiy
Browse files

[MTD] add get and put methods



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>
parent 7799308f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment