All of lore.kernel.org
 help / color / mirror / Atom feed
From: mturquette@linaro.org (Mike Turquette)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] clk: Move symbol export to proper location
Date: Tue, 03 Sep 2013 13:42:07 -0700	[thread overview]
Message-ID: <20130903204207.10934.53389@quantum> (raw)
In-Reply-To: <1378194231-26828-1-git-send-email-treding@nvidia.com>

Quoting Thierry Reding (2013-09-03 00:43:51)
> The __clk_get_flags() symbol is exported immediately following the
> clk_unprepare_unused_subtree() function. This is unusual, since a symbol
> export typically follows body of the function that it exports.
> 
> Signed-off-by: Thierry Reding <treding@nvidia.com>

Thanks for the cleanup. Applied.

Regards,
Mike

> ---
>  drivers/clk/clk.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c
> index 2db08c0..b49c9ee 100644
> --- a/drivers/clk/clk.c
> +++ b/drivers/clk/clk.c
> @@ -458,7 +458,6 @@ static void clk_unprepare_unused_subtree(struct clk *clk)
>                         clk->ops->unprepare(clk->hw);
>         }
>  }
> -EXPORT_SYMBOL_GPL(__clk_get_flags);
>  
>  /* caller must hold prepare_lock */
>  static void clk_disable_unused_subtree(struct clk *clk)
> @@ -607,6 +606,7 @@ unsigned long __clk_get_flags(struct clk *clk)
>  {
>         return !clk ? 0 : clk->flags;
>  }
> +EXPORT_SYMBOL_GPL(__clk_get_flags);
>  
>  bool __clk_is_prepared(struct clk *clk)
>  {
> -- 
> 1.8.4

      reply	other threads:[~2013-09-03 20:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-03  7:43 [PATCH] clk: Move symbol export to proper location Thierry Reding
2013-09-03  7:43 ` Thierry Reding
2013-09-03 20:42 ` Mike Turquette [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=20130903204207.10934.53389@quantum \
    --to=mturquette@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.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 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.