Skip to content

Commit 0601776

Browse files
Jason-JH.LinJassiBrar
authored andcommitted
mailbox: mtk-cmdq: Rename gce_plat variable with SoC name postfix
Rename gce_plat variable postfix from 'v1~v7' to SoC names. Signed-off-by: Jason-JH.Lin <jason-jh.lin@mediatek.com> Reviewed-by: CK Hu <ck.hu@mediatek.com> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
1 parent 171c8a2 commit 0601776

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

drivers/mailbox/mtk-cmdq-mailbox.c

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -705,42 +705,42 @@ static const struct dev_pm_ops cmdq_pm_ops = {
705705
cmdq_runtime_resume, NULL)
706706
};
707707

708-
static const struct gce_plat gce_plat_v2 = {
708+
static const struct gce_plat gce_plat_mt8173 = {
709709
.thread_nr = 16,
710710
.shift = 0,
711711
.control_by_sw = false,
712712
.gce_num = 1
713713
};
714714

715-
static const struct gce_plat gce_plat_v3 = {
715+
static const struct gce_plat gce_plat_mt8183 = {
716716
.thread_nr = 24,
717717
.shift = 0,
718718
.control_by_sw = false,
719719
.gce_num = 1
720720
};
721721

722-
static const struct gce_plat gce_plat_v4 = {
722+
static const struct gce_plat gce_plat_mt6779 = {
723723
.thread_nr = 24,
724724
.shift = 3,
725725
.control_by_sw = false,
726726
.gce_num = 1
727727
};
728728

729-
static const struct gce_plat gce_plat_v5 = {
729+
static const struct gce_plat gce_plat_mt8192 = {
730730
.thread_nr = 24,
731731
.shift = 3,
732732
.control_by_sw = true,
733733
.gce_num = 1
734734
};
735735

736-
static const struct gce_plat gce_plat_v6 = {
736+
static const struct gce_plat gce_plat_mt8195 = {
737737
.thread_nr = 24,
738738
.shift = 3,
739739
.control_by_sw = true,
740740
.gce_num = 2
741741
};
742742

743-
static const struct gce_plat gce_plat_v7 = {
743+
static const struct gce_plat gce_plat_mt8186 = {
744744
.thread_nr = 24,
745745
.shift = 3,
746746
.control_by_sw = true,
@@ -749,12 +749,12 @@ static const struct gce_plat gce_plat_v7 = {
749749
};
750750

751751
static const struct of_device_id cmdq_of_ids[] = {
752-
{.compatible = "mediatek,mt8173-gce", .data = (void *)&gce_plat_v2},
753-
{.compatible = "mediatek,mt8183-gce", .data = (void *)&gce_plat_v3},
754-
{.compatible = "mediatek,mt8186-gce", .data = (void *)&gce_plat_v7},
755-
{.compatible = "mediatek,mt6779-gce", .data = (void *)&gce_plat_v4},
756-
{.compatible = "mediatek,mt8192-gce", .data = (void *)&gce_plat_v5},
757-
{.compatible = "mediatek,mt8195-gce", .data = (void *)&gce_plat_v6},
752+
{.compatible = "mediatek,mt8173-gce", .data = (void *)&gce_plat_mt8173},
753+
{.compatible = "mediatek,mt8183-gce", .data = (void *)&gce_plat_mt8183},
754+
{.compatible = "mediatek,mt8186-gce", .data = (void *)&gce_plat_mt8186},
755+
{.compatible = "mediatek,mt6779-gce", .data = (void *)&gce_plat_mt6779},
756+
{.compatible = "mediatek,mt8192-gce", .data = (void *)&gce_plat_mt8192},
757+
{.compatible = "mediatek,mt8195-gce", .data = (void *)&gce_plat_mt8195},
758758
{}
759759
};
760760

0 commit comments

Comments
 (0)