]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
clk: mediatek: mt7987: unique driver names
authorDavid Lechner <dlechner@baylibre.com>
Tue, 7 Jul 2026 19:10:08 +0000 (14:10 -0500)
committerDavid Lechner <dlechner@baylibre.com>
Wed, 22 Jul 2026 17:41:03 +0000 (12:41 -0500)
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.

Link: https://patch.msgid.link/20260707-mtk-clk-unique-driver-names-v1-6-283d9a55361e@baylibre.com
Signed-off-by: David Lechner <dlechner@baylibre.com>
drivers/clk/mediatek/clk-mt7987.c

index b45cd5106b4cede00ad702b1f333ee32f27db365..4ac0c6faa9443a706e6a65958d2562e76e2b4eef 100644 (file)
@@ -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,
@@ -484,7 +484,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,
@@ -806,7 +806,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,
@@ -864,7 +864,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,