diff --git a/drivers/clk/nuvoton/clk-wpcm450.c b/drivers/clk/nuvoton/clk-wpcm450.c index fa94a160508548..b93f050cc1856d 100644 --- a/drivers/clk/nuvoton/clk-wpcm450.c +++ b/drivers/clk/nuvoton/clk-wpcm450.c @@ -131,8 +131,8 @@ struct wpcm450_pll_data { }; static const struct wpcm450_pll_data pll_data[] = { - { "pll0", { .name = "ref" }, REG_PLLCON0, 0 }, - { "pll1", { .name = "ref" }, REG_PLLCON1, 0 }, + { "pll0", { .fw_name = "ref" }, REG_PLLCON0, 0 }, + { "pll1", { .fw_name = "ref" }, REG_PLLCON1, 0 }, }; struct wpcm450_clksel_data { @@ -149,13 +149,13 @@ struct wpcm450_clksel_data { static const u32 parent_table[] = { 0, 1, 2 }; static const struct clk_parent_data default_parents[] = { - { .name = "pll0" }, + { .name = "pll0" }, // TODO: eliminate this use of .name as well, by passing the hw object on { .name = "pll1" }, { .name = "ref" }, }; static const struct clk_parent_data huart_parents[] = { - { .name = "ref" }, + { .fw_name = "ref" }, { .name = "refdiv2" }, };