From: Chris Ball <cjb@laptop.org>
To: Linus Walleij <linus.walleij@stericsson.com>
Cc: linux-mmc@vger.kernel.org, Lee Jones <lee.jones@linaro.org>,
Ulf Hansson <ulf.hansson@stericsson.com>,
Linus Walleij <linus.walleij@linaro.org>
Subject: Re: [PATCH] mmc: export function mmc_do_release_host
Date: Tue, 08 Mar 2011 14:44:50 -0500 [thread overview]
Message-ID: <m362rtqtvx.fsf@pullcord.laptop.org> (raw)
In-Reply-To: <1299330464-12938-1-git-send-email-linus.walleij@stericsson.com> (Linus Walleij's message of "Sat, 5 Mar 2011 14:07:44 +0100")
Hi,
On Sat, Mar 05 2011, Linus Walleij wrote:
> From: Ulf Hansson <ulf.hansson@stericsson.com>
>
> When using mmc_try_claim_host the corresponding release
> function is mmc_do_release_host, which then also must
> be exported.
>
> Reviewed-by: Jonas Aberg <jonas.aberg@stericsson.com>
> Reviewed-by: Sebastian Rasmussen <sebastian.rasmussen@stericsson.com>
> Signed-off-by: Ulf Hansson <ulf.hansson@stericsson.com>
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
> ---
> drivers/mmc/core/core.c | 3 ++-
> include/linux/mmc/core.h | 1 +
> 2 files changed, 3 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c
> index 579ba1e..2521794 100644
> --- a/drivers/mmc/core/core.c
> +++ b/drivers/mmc/core/core.c
> @@ -527,7 +527,7 @@ int mmc_try_claim_host(struct mmc_host *host)
> }
> EXPORT_SYMBOL(mmc_try_claim_host);
>
> -static void mmc_do_release_host(struct mmc_host *host)
> +void mmc_do_release_host(struct mmc_host *host)
> {
> unsigned long flags;
>
> @@ -542,6 +542,7 @@ static void mmc_do_release_host(struct mmc_host *host)
> wake_up(&host->wq);
> }
> }
> +EXPORT_SYMBOL(mmc_do_release_host);
>
> void mmc_host_deeper_disable(struct work_struct *work)
> {
Would you mind adding a kerneldoc comment for mmc_do_release_host()?
The other public locking functions have them, so this should gain one
too when it becomes public.
Thanks,
- Chris.
--
Chris Ball <cjb@laptop.org> <http://printf.net/>
One Laptop Per Child
next prev parent reply other threads:[~2011-03-08 19:47 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-05 13:07 [PATCH] mmc: export function mmc_do_release_host Linus Walleij
2011-03-08 19:20 ` Linus Walleij
2011-03-08 19:40 ` Chris Ball
2011-03-08 19:44 ` Chris Ball [this message]
-- strict thread matches above, loose matches on Subject: below --
2011-03-09 8:11 Linus Walleij
2011-03-10 15:27 ` Chris Ball
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=m362rtqtvx.fsf@pullcord.laptop.org \
--to=cjb@laptop.org \
--cc=lee.jones@linaro.org \
--cc=linus.walleij@linaro.org \
--cc=linus.walleij@stericsson.com \
--cc=linux-mmc@vger.kernel.org \
--cc=ulf.hansson@stericsson.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.