[PATCH 06/15] clk: mediatek: mt7987: unique driver names
David Lechner
dlechner at baylibre.com
Tue Jul 7 21:10:08 CEST 2026
Change driver names for MediaTek mt7987 clocks to be globally unique.
This will allow better build bot testing by allowing all clocks to be
compiled at the same time.
Signed-off-by: David Lechner <dlechner at baylibre.com>
---
drivers/clk/mediatek/clk-mt7987.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/clk/mediatek/clk-mt7987.c b/drivers/clk/mediatek/clk-mt7987.c
index e3a95864235..94a988f0cc2 100644
--- a/drivers/clk/mediatek/clk-mt7987.c
+++ b/drivers/clk/mediatek/clk-mt7987.c
@@ -74,7 +74,7 @@ static int mt7987_fixed_pll_probe(struct udevice *dev)
return mtk_common_clk_init(dev, &mt7987_fixed_pll_clk_tree);
}
-U_BOOT_DRIVER(mtk_clk_apmixedsys) = {
+U_BOOT_DRIVER(mt7987_clk_apmixedsys) = {
.name = "mt7987-clock-fixed-pll",
.id = UCLASS_CLK,
.of_match = mt7987_fixed_pll_compat,
@@ -483,7 +483,7 @@ static int mt7987_topckgen_probe(struct udevice *dev)
return mtk_common_clk_init(dev, &mt7987_topckgen_clk_tree);
}
-U_BOOT_DRIVER(mtk_clk_topckgen) = {
+U_BOOT_DRIVER(mt7987_clk_topckgen) = {
.name = "mt7987-clock-topckgen",
.id = UCLASS_CLK,
.of_match = mt7987_topckgen_compat,
@@ -804,7 +804,7 @@ static int mt7987_infracfg_probe(struct udevice *dev)
return mtk_common_clk_init(dev, &mt7987_infracfg_clk_tree);
}
-U_BOOT_DRIVER(mtk_clk_infracfg) = {
+U_BOOT_DRIVER(mt7987_clk_infracfg) = {
.name = "mt7987-clock-infracfg",
.id = UCLASS_CLK,
.of_match = mt7987_infracfg_compat,
@@ -861,7 +861,7 @@ static const struct udevice_id mt7987_ethsys_compat[] = {
{}
};
-U_BOOT_DRIVER(mtk_clk_ethsys) = {
+U_BOOT_DRIVER(mt7987_clk_ethsys) = {
.name = "mt7987-clock-ethsys",
.id = UCLASS_CLK,
.of_match = mt7987_ethsys_compat,
--
2.43.0
More information about the U-Boot
mailing list