[PATCH v3 4/5] clk: clk-gpio: add driver for gated-fixed-clocks

Stephen Boyd sboyd at kernel.org
Fri Sep 6 16:02:08 PDT 2024


Quoting Heiko Stübner (2024-09-05 15:48:35)
> Am Mittwoch, 28. August 2024, 20:30:51 CEST schrieb Stephen Boyd:
> > Quoting Heiko Stuebner (2024-08-28 03:15:02)
> 
> [leaving out all the "will fix" parts :-) ]
> 
> > > +static struct platform_driver gated_fixed_clk_driver = {
> > > +       .probe          = clk_gated_fixed_probe,
> > > +       .driver         = {
> > > +               .name   = "gated-fixed-clk",
> > > +               .of_match_table = gated_fixed_clk_match_table,
> > > +       },
> > > +};
> > > +builtin_platform_driver(gated_fixed_clk_driver);
> > 
> > The comment above builtin_platform_driver says "Each driver may only use
> > this macro once". Seems that we need to expand the macro.
> 
> each _driver_, not each file is the important point I think.

Ok!



More information about the Linux-rockchip mailing list