From 5126aec8497ab904c25b38a5a82607bf769b3718 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonathan=20Neusch=C3=A4fer?= Date: Mon, 14 Aug 2023 12:22:46 +0200 Subject: [PATCH] [WIP] Refer to clock parents by .fw_name --- drivers/clk/nuvoton/clk-wpcm450.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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" }, };