On Mon 22 Jul 2019 at 11:50, Alexandre Mergnat <[email protected]> wrote:

> @@ -208,8 +216,10 @@ static struct clk_regmap ao_cts_cec = {
>                * Until CCF gets fixed, adding this fake parent that won't
>                * ever be registered should work around the problem
>                */
> -             .parent_names = (const char *[]){ "fixme",
> -                                               "ao_cts_rtc_oscin" },
> +             .parent_data = (const struct clk_parent_data []) {
> +                     { .fw_name = "fixme", },

Hum, that would work I suppose but I'd prefer if used .name for this
work around. Remember to throw an '.index = -1' as well

> +                     { .hw = &ao_cts_rtc_oscin.hw },
> +             },
>               .num_parents = 2,
>               .flags = CLK_SET_RATE_PARENT,
>       },

Reply via email to