From: mturquette@linaro.org (Mike Turquette)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] clk: Add missing of_clk_set_defaults export
Date: Mon, 04 Aug 2014 09:49:12 -0700 [thread overview]
Message-ID: <20140804164912.5867.65231@quantum> (raw)
In-Reply-To: <1407149338-18401-1-git-send-email-s.nawrocki@samsung.com>
Quoting Sylwester Nawrocki (2014-08-04 03:48:58)
> The of_clk_set_defaults() function is used in subsystems which can
> be built as module. Add the missing symbol export entry so there
> is no build errors like:
> "ERROR: "of_clk_set_defaults" [drivers/i2c/i2c-core.ko] undefined!".
>
> Fixes commit: 86be408bfbd846fab3c4ac21d6f9298bd2e4b790
> "clk: Support for clock parents and rates assigned from device tree"
>
> Reported-by: kbuild test robot <fengguang.wu@intel.com>
> Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Thanks for the quick fixup. Applied for 3.17.
Regards,
Mike
> ---
> drivers/clk/clk-conf.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/clk/clk-conf.c b/drivers/clk/clk-conf.c
> index 4e1bda7..aad4796 100644
> --- a/drivers/clk/clk-conf.c
> +++ b/drivers/clk/clk-conf.c
> @@ -141,3 +141,4 @@ int of_clk_set_defaults(struct device_node *node, bool clk_supplier)
>
> return __set_clk_rates(node, clk_supplier);
> }
> +EXPORT_SYMBOL_GPL(of_clk_set_defaults);
> --
> 1.7.9.5
>
prev parent reply other threads:[~2014-08-04 16:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-04 10:48 [PATCH] clk: Add missing of_clk_set_defaults export Sylwester Nawrocki
2014-08-04 11:21 ` Wolfram Sang
2014-08-04 16:49 ` 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=20140804164912.5867.65231@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).