[PATCH 13/15] clk: mediatek: mt8512: unique driver names

David Lechner dlechner at baylibre.com
Tue Jul 7 21:10:15 CEST 2026


Change driver names for MediaTek mt8512 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-mt8512.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/clk/mediatek/clk-mt8512.c b/drivers/clk/mediatek/clk-mt8512.c
index 2b0f0a38f81..307f788cc77 100644
--- a/drivers/clk/mediatek/clk-mt8512.c
+++ b/drivers/clk/mediatek/clk-mt8512.c
@@ -862,7 +862,7 @@ static const struct udevice_id mt8512_infracfg_compat[] = {
 	{ }
 };
 
-U_BOOT_DRIVER(mtk_clk_apmixedsys) = {
+U_BOOT_DRIVER(mt8512_clk_apmixedsys) = {
 	.name = "mt8512-apmixedsys",
 	.id = UCLASS_CLK,
 	.of_match = mt8512_apmixed_compat,
@@ -872,7 +872,7 @@ U_BOOT_DRIVER(mtk_clk_apmixedsys) = {
 	.flags = DM_FLAG_PRE_RELOC,
 };
 
-U_BOOT_DRIVER(mtk_clk_topckgen) = {
+U_BOOT_DRIVER(mt8512_clk_topckgen) = {
 	.name = "mt8512-topckgen",
 	.id = UCLASS_CLK,
 	.of_match = mt8512_topckgen_compat,
@@ -882,7 +882,7 @@ U_BOOT_DRIVER(mtk_clk_topckgen) = {
 	.flags = DM_FLAG_PRE_RELOC,
 };
 
-U_BOOT_DRIVER(mtk_clk_topckgen_cg) = {
+U_BOOT_DRIVER(mt8512_clk_topckgen_cg) = {
 	.name = "mt8512-topckgen-cg",
 	.id = UCLASS_CLK,
 	.of_match = mt8512_topckgen_cg_compat,
@@ -892,7 +892,7 @@ U_BOOT_DRIVER(mtk_clk_topckgen_cg) = {
 	.flags = DM_FLAG_PRE_RELOC,
 };
 
-U_BOOT_DRIVER(mtk_clk_infracfg) = {
+U_BOOT_DRIVER(mt8512_clk_infracfg) = {
 	.name = "mt8512-infracfg",
 	.id = UCLASS_CLK,
 	.of_match = mt8512_infracfg_compat,

-- 
2.43.0



More information about the U-Boot mailing list