Skip to content
Snippets Groups Projects
Commit 7799308f authored by Artem Bityutskiy's avatar Artem Bityutskiy
Browse files

[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: default avatarArtem Bityutskiy <dedekind@infradead.org>
parent 29072b96
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment