Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
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
Loading
Loading
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