* [PATCH] mtd: nand: Export nand_reset() symbol
@ 2017-10-05 16:53 Boris Brezillon
2017-10-14 15:12 ` Boris Brezillon
0 siblings, 1 reply; 2+ messages in thread
From: Boris Brezillon @ 2017-10-05 16:53 UTC (permalink / raw)
To: Boris Brezillon, Richard Weinberger, linux-mtd
Cc: David Woodhouse, Brian Norris, Marek Vasut, Cyrille Pitchen,
stable
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>
---
drivers/mtd/nand/nand_base.c | 1 +
1 file changed, 1 insertion(+)
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
--
2.11.0
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] mtd: nand: Export nand_reset() symbol
2017-10-05 16:53 [PATCH] mtd: nand: Export nand_reset() symbol Boris Brezillon
@ 2017-10-14 15:12 ` Boris Brezillon
0 siblings, 0 replies; 2+ messages in thread
From: Boris Brezillon @ 2017-10-14 15:12 UTC (permalink / raw)
To: Boris Brezillon, Richard Weinberger, linux-mtd
Cc: Marek Vasut, Brian Norris, David Woodhouse, stable,
Cyrille Pitchen
On Thu, 5 Oct 2017 18:53:19 +0200
Boris Brezillon <boris.brezillon@free-electrons.com> wrote:
> 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.
Applied.
>
> Fixes: 6e532afaca8e ("mtd: nand: atmel: Add PM ops")
> Cc: <stable@vger.kernel.org>
> Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
> ---
> drivers/mtd/nand/nand_base.c | 1 +
> 1 file changed, 1 insertion(+)
>
> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-10-14 15:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-05 16:53 [PATCH] mtd: nand: Export nand_reset() symbol Boris Brezillon
2017-10-14 15:12 ` Boris Brezillon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox