public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Boris Brezillon <boris.brezillon@free-electrons.com>
To: Boris Brezillon <boris.brezillon@free-electrons.com>,
	Richard Weinberger <richard@nod.at>,
	linux-mtd@lists.infradead.org
Cc: Marek Vasut <marek.vasut@gmail.com>,
	Brian Norris <computersforpeace@gmail.com>,
	David Woodhouse <dwmw2@infradead.org>,
	stable@vger.kernel.org,
	Cyrille Pitchen <cyrille.pitchen@wedev4u.fr>
Subject: Re: [PATCH] mtd: nand: Export nand_reset() symbol
Date: Sat, 14 Oct 2017 17:12:45 +0200	[thread overview]
Message-ID: <20171014171245.2522f9f7@bbrezillon> (raw)
In-Reply-To: <20171005165319.30391-1-boris.brezillon@free-electrons.com>

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

      reply	other threads:[~2017-10-14 15:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-05 16:53 [PATCH] mtd: nand: Export nand_reset() symbol Boris Brezillon
2017-10-14 15:12 ` Boris Brezillon [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171014171245.2522f9f7@bbrezillon \
    --to=boris.brezillon@free-electrons.com \
    --cc=computersforpeace@gmail.com \
    --cc=cyrille.pitchen@wedev4u.fr \
    --cc=dwmw2@infradead.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=marek.vasut@gmail.com \
    --cc=richard@nod.at \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox