提交 706a4e5a 编写于 作者: A Arnd Bergmann 提交者: Jens Axboe

mtd: export new mtd_mmap_capabilities

The recently added mtd_mmap_capabilities can be used from loadable
modules, in particular romfs, but is not exported, so we get

ERROR: "mtd_mmap_capabilities" [fs/romfs/romfs.ko] undefined!

This adds the missing export.
Signed-off-by: NArnd Bergmann <arnd@arndb.de>
Fixes: b4caecd4 ("fs: introduce f_op->mmap_capabilities for nommu mmap support")
Acked-by: NChristoph Hellwig <hch@lst.de>
Acked-by: NBrian Norris <computersforpeace@gmail.com>
Signed-off-by: NJens Axboe <axboe@fb.com>
上级 b520252a
......@@ -353,6 +353,7 @@ unsigned mtd_mmap_capabilities(struct mtd_info *mtd)
return NOMMU_MAP_COPY;
}
}
EXPORT_SYMBOL_GPL(mtd_mmap_capabilities);
#endif
/**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册