[PATCH v3 01/32] clk: at91: pmc: add macros for clk_parent_data
Stephen Boyd
sboyd at kernel.org
Mon Sep 15 18:21:49 PDT 2025
Quoting claudiu beznea (2025-09-06 11:33:34)
> On 7/10/25 23:06, Ryan.Wanner at microchip.com wrote:
> > +})
> > +
> > +#define AT91_CLK_PD_HW(h) ((struct clk_parent_data){ .hw = (h) })
>
> Could you please update this one, something like:
>
> #define AT91_CLK_PD_HW(h) ((struct clk_parent_data){ \
> .hw = (h), .name = NULL, .fw_name = NULL, .index = -1, \
> }
If you're only using a struct clk_hw * then just use clk_hws member and
not clk_parent_data member of struct clk_init_data.
More information about the linux-arm-kernel
mailing list