[PATCH v2] soc: mediatek: Add deprecated compatible to mmsys
matthias.bgg at kernel.org
matthias.bgg at kernel.org
Fri Nov 11 00:29:12 PST 2022
From: Matthias Brugger <matthias.bgg at gmail.com>
For backward compatibility we add the deprecated compatible.
Signed-off-by: Matthias Brugger <matthias.bgg at gmail.com>
---
Changes since v1:
- fix drive data pointer
drivers/soc/mediatek/mtk-mmsys.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/soc/mediatek/mtk-mmsys.c b/drivers/soc/mediatek/mtk-mmsys.c
index ba2e79b26993b..f3431448e8431 100644
--- a/drivers/soc/mediatek/mtk-mmsys.c
+++ b/drivers/soc/mediatek/mtk-mmsys.c
@@ -303,6 +303,10 @@ static const struct of_device_id of_match_mtk_mmsys[] = {
.compatible = "mediatek,mt8192-mmsys",
.data = &mt8192_mmsys_driver_data,
},
+ { /* deprecated compatible */
+ .compatible = "mediatek,mt8195-mmsys",
+ .data = &mt8195_vdosys0_driver_data,
+ },
{
.compatible = "mediatek,mt8195-vdosys0",
.data = &mt8195_vdosys0_driver_data,
--
2.38.0
More information about the Linux-mediatek
mailing list