Change driver names for MediaTek mt8365 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 <[email protected]>
---
 drivers/clk/mediatek/clk-mt8365.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/clk/mediatek/clk-mt8365.c 
b/drivers/clk/mediatek/clk-mt8365.c
index 1882ff9d6cd..1394dbbdd5d 100644
--- a/drivers/clk/mediatek/clk-mt8365.c
+++ b/drivers/clk/mediatek/clk-mt8365.c
@@ -790,7 +790,7 @@ static const struct udevice_id mt8365_infracfg_compat[] = {
        { }
 };
 
-U_BOOT_DRIVER(mtk_clk_apmixedsys) = {
+U_BOOT_DRIVER(mt8365_clk_apmixedsys) = {
        .name = "mt8365-apmixedsys",
        .id = UCLASS_CLK,
        .of_match = mt8365_apmixed_compat,
@@ -800,7 +800,7 @@ U_BOOT_DRIVER(mtk_clk_apmixedsys) = {
        .flags = DM_FLAG_PRE_RELOC,
 };
 
-U_BOOT_DRIVER(mtk_clk_topckgen) = {
+U_BOOT_DRIVER(mt8365_clk_topckgen) = {
        .name = "mt8365-topckgen",
        .id = UCLASS_CLK,
        .of_match = mt8365_topckgen_compat,
@@ -810,7 +810,7 @@ U_BOOT_DRIVER(mtk_clk_topckgen) = {
        .flags = DM_FLAG_PRE_RELOC,
 };
 
-U_BOOT_DRIVER(mtk_clk_infracfg) = {
+U_BOOT_DRIVER(mt8365_clk_infracfg) = {
        .name = "mt8365-infracfg",
        .id = UCLASS_CLK,
        .of_match = mt8365_infracfg_compat,

-- 
2.43.0

Reply via email to