[PATCH 2/2] mailbox: mtk-cmdq: Fix local clock ID usage

Tzung-Bi Shih tzungbi at google.com
Thu Oct 14 04:34:21 PDT 2021


On Thu, Oct 14, 2021 at 7:33 PM Fei Shao <fshao at chromium.org> wrote:
>
> On Thu, Oct 14, 2021 at 6:47 PM Tzung-Bi Shih <tzungbi at google.com> wrote:
> >
> > On Thu, Oct 14, 2021 at 05:31:11PM +0800, Fei Shao wrote:
> > > +const char *clk_name = "gce";
> > > +const char *clk_names[] = { "gce0", "gce1" };
> > Does letting them static make more sense?
> Yes, I'll send a v2 later. Thanks!
Probably better to keep their scope in probe function but extend the
lifecycle by using static.



More information about the linux-arm-kernel mailing list