commit | 9fe912cea32aec18f860c95e8574410b5892481b | [log] [tgz] |
---|---|---|
author | Artem Bityutskiy <dedekind@infradead.org> | Wed Oct 11 14:52:45 2006 +0300 |
committer | Artem Bityutskiy <dedekind@infradead.org> | Wed Nov 29 17:04:53 2006 +0200 |
tree | 3efcd1c31f2af29b4357164d5891cfdbe6f3e052 | |
parent | 7799308f34d3c3371a319559687c78c0f2506fcf [diff] |
[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: Artem Bityutskiy <dedekind@infradead.org>