* [PATCH] clk: Add missing of_clk_set_defaults export
@ 2014-08-04 10:48 Sylwester Nawrocki
2014-08-04 11:21 ` Wolfram Sang
2014-08-04 16:49 ` Mike Turquette
0 siblings, 2 replies; 3+ messages in thread
From: Sylwester Nawrocki @ 2014-08-04 10:48 UTC (permalink / raw)
To: linux-arm-kernel
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>
---
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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH] clk: Add missing of_clk_set_defaults export
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
1 sibling, 0 replies; 3+ messages in thread
From: Wolfram Sang @ 2014-08-04 11:21 UTC (permalink / raw)
To: linux-arm-kernel
On Mon, Aug 04, 2014 at 12:48:58PM +0200, Sylwester Nawrocki wrote:
> 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>
Acked-by: Wolfram Sang <wsa@the-dreams.de>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140804/e2250867/attachment-0001.sig>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] clk: Add missing of_clk_set_defaults export
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
1 sibling, 0 replies; 3+ messages in thread
From: Mike Turquette @ 2014-08-04 16:49 UTC (permalink / raw)
To: linux-arm-kernel
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
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-08-04 16:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).