mtd: nand: Export nand_reset() symbol
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Thu, 5 Oct 2017 16:53:19 +0000 (18:53 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 Nov 2017 08:40:51 +0000 (08:40 +0000)
commit460bad5fe1ae2ebcd9cb73ad7b51538996b722b2
tree602c85acc8d9ef514fa61e0e19cd980da7ab1114
parent7ad1a61d32af8a7d39dedcafaaf1f209237fa806
mtd: nand: Export nand_reset() symbol

commit b9bb98424c51437973b854691aa1e9b2bfd348f5 upstream.

Commit 6e532afaca8e ("mtd: nand: atmel: Add PM ops") started to use the
nand_reset() function which was not yet exported by the NAND framework
(because it was only used internally before that). Export this symbol
to avoid build errors when the driver is enabled as a module.

Fixes: 6e532afaca8e ("mtd: nand: atmel: Add PM ops")
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mtd/nand/nand_base.c