[U-Boot] [i.MX8MM+CCF 08/41] clk: export mux/divider ops

Lukasz Majewski lukma at denx.de
Mon May 6 22:06:05 UTC 2019


On Tue, 30 Apr 2019 10:17:58 +0000
Peng Fan <peng.fan at nxp.com> wrote:

> Export mux/divider ops for composite usage
> 
> Signed-off-by: Peng Fan <peng.fan at nxp.com>
> ---
>  include/linux/clk-provider.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/include/linux/clk-provider.h
> b/include/linux/clk-provider.h index 216095d28c..a60cf6e833 100644
> --- a/include/linux/clk-provider.h
> +++ b/include/linux/clk-provider.h
> @@ -83,6 +83,7 @@ struct clk_divider {
>  #define CLK_DIVIDER_ROUND_CLOSEST	BIT(4)
>  #define CLK_DIVIDER_READ_ONLY		BIT(5)
>  #define CLK_DIVIDER_MAX_AT_ZERO		BIT(6)
> +extern const struct clk_ops clk_divider_ops;
>  

Why do we need to export clk_divider_ops? Why iMX8MM requires it?

>  struct clk_fixed_factor {
>  	struct clk	clk;




Best regards,

Lukasz Majewski

--

DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma at denx.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190507/c23f7be2/attachment.sig>


More information about the U-Boot mailing list