summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/mtdcore.h
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2019-03-25 16:38:31 +0000
committerAl Viro <viro@zeniv.linux.org.uk>2019-09-05 14:34:23 -0400
commit0f071004109d9c8de7023b9a64fa2ba3fa87cbed (patch)
treecc26241bb5dcd51fef9658f43efc1537cdc51097 /drivers/mtd/mtdcore.h
parentfe62c3a4e17ddfe672710425ab6eba2ba7203526 (diff)
downloadlinux-0f071004109d9c8de7023b9a64fa2ba3fa87cbed.tar.gz
linux-0f071004109d9c8de7023b9a64fa2ba3fa87cbed.tar.bz2
linux-0f071004109d9c8de7023b9a64fa2ba3fa87cbed.zip
mtd: Provide fs_context-aware mount_mtd() replacement
Provide a function, get_tree_mtd(), to replace mount_mtd(), using an fs_context struct to hold the parameters. Signed-off-by: David Howells <dhowells@redhat.com> cc: David Woodhouse <dwmw2@infradead.org> cc: Brian Norris <computersforpeace@gmail.com> cc: Boris Brezillon <bbrezillon@kernel.org> cc: Marek Vasut <marek.vasut@gmail.com> cc: Richard Weinberger <richard@nod.at> cc: linux-mtd@lists.infradead.org Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/mtd/mtdcore.h')
-rw-r--r--drivers/mtd/mtdcore.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/mtdcore.h b/drivers/mtd/mtdcore.h
index b31c868019ad..b5eefeabf310 100644
--- a/drivers/mtd/mtdcore.h
+++ b/drivers/mtd/mtdcore.h
@@ -5,6 +5,7 @@
*/
extern struct mutex mtd_table_mutex;
+extern struct backing_dev_info *mtd_bdi;
struct mtd_info *__mtd_next_device(int i);
int __must_check add_mtd_device(struct mtd_info *mtd);