commit | 7799308f34d3c3371a319559687c78c0f2506fcf | [log] [tgz] |
---|---|---|
author | Artem Bityutskiy <dedekind@infradead.org> | Wed Oct 11 14:52:44 2006 +0300 |
committer | Artem Bityutskiy <dedekind@infradead.org> | Wed Nov 29 17:04:31 2006 +0200 |
tree | 2e4f48326e848060aa8ffe104887a8d1d5bb1759 | |
parent | 29072b96078ffde36f03d51e6b5d0cff1ba8c7df [diff] |
[MTD] add get_mtd_device_nm() function This patch adds one more function to the MTD interface to make it possible to open MTD devices by their names, not only numbers. This is very handy in many situations. Also, MTD device number depend on load order and may vary, while names are fixed. Signed-off-by: Artem Bityutskiy <dedekind@infradead.org>