Thread (1 message) 1 message, 1 author, 2013-12-19

[PATCH v3 1/2] clk: add clk accuracy retrieval support

From: boris brezillon <hidden>
Date: 2013-12-19 19:42:24
Also in: linux-devicetree, lkml

Le 19/12/2013 20:36, Mike Turquette a ?crit :
Quoting boris brezillon (2013-12-19 00:54:07)
quoted
Hello Mike,

On 19/12/2013 07:04, Mike Turquette wrote:
quoted
Quoting Boris BREZILLON (2013-12-17 06:36:22)
quoted
+unsigned long __clk_get_accuracy(struct clk *clk)
+{
+       unsigned long ret;
+
+       if (!clk)
+               return 0;
+
+       return clk->accuracy;
+}
+EXPORT_SYMBOL_GPL(__clk_get_accuracy);
Any reason for exporting this?
This might be used by clk drivers to choose the most accurate clk
among its parent clks (within the determinate_rate callback).

And as some clk drivers might be compiled as modules we need
to export the symbol (__clk_get_name helper function is exported
too).
Does your driver need this or is this just following the existing
__clk_get_rate / clk_get_rate model?
No, I don't need this for my driver, at least for the moment.

Do you want me to drop this EXPORT_SYMBOL ?
Regards,
Mike
quoted
Best Regards,

Boris
quoted
Regards,
Mike
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help