mtd: export new mtd_mmap_capabilities
authorArnd Bergmann <arnd@arndb.de>
Wed, 28 Jan 2015 18:09:20 +0000 (11:09 -0700)
committerJens Axboe <axboe@fb.com>
Wed, 28 Jan 2015 18:09:20 +0000 (11:09 -0700)
commit706a4e5a120aa40b31a22a4ad0cdd738d78a91a3
tree1aefd3eaef4493d4a91f8d477747dabaec3de477
parentb520252aa287b14e1f39a51e20051775b273b82a
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: Arnd Bergmann <arnd@arndb.de>
Fixes: b4caecd48005f ("fs: introduce f_op->mmap_capabilities for nommu mmap support")
Acked-by: Christoph Hellwig <hch@lst.de>
Acked-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/mtd/mtdcore.c