diff options
author | Boris Brezillon <boris.brezillon@free-electrons.com> | 2017-10-05 18:53:19 +0200 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@free-electrons.com> | 2017-10-14 15:15:10 +0200 |
commit | b9bb98424c51437973b854691aa1e9b2bfd348f5 (patch) | |
tree | d94dba2050b51519e875e43f6dac33a90e2ec7ea /drivers/mtd | |
parent | fc256f5789cbb58bb5aa308a781be46a270bcd98 (diff) | |
download | talos-op-linux-b9bb98424c51437973b854691aa1e9b2bfd348f5.tar.gz talos-op-linux-b9bb98424c51437973b854691aa1e9b2bfd348f5.zip |
mtd: nand: Export nand_reset() symbol
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")
Cc: <stable@vger.kernel.org>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Diffstat (limited to 'drivers/mtd')
-rw-r--r-- | drivers/mtd/nand/nand_base.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/nand/nand_base.c b/drivers/mtd/nand/nand_base.c index c63e4a88a653..4c867115c53b 100644 --- a/drivers/mtd/nand/nand_base.c +++ b/drivers/mtd/nand/nand_base.c @@ -1244,6 +1244,7 @@ int nand_reset(struct nand_chip *chip, int chipnr) return 0; } +EXPORT_SYMBOL_GPL(nand_reset); /** * nand_check_erased_buf - check if a buffer contains (almost) only 0xff data |