[PATCH v5 4/4] dmaengine: mediatek-cqdma: fix compatible

From: EastL
Date: Fri Jun 19 2020 - 04:06:30 EST


This patch adds common compatible & platform compatiable.

Signed-off-by: EastL <EastL.Lee@xxxxxxxxxxxx>
---
drivers/dma/mediatek/mtk-cqdma.c | 2 ++
1 file changed, 2 insertions(+)

diff --git a/drivers/dma/mediatek/mtk-cqdma.c b/drivers/dma/mediatek/mtk-cqdma.c
index ed33c64..d701ebf 100644
--- a/drivers/dma/mediatek/mtk-cqdma.c
+++ b/drivers/dma/mediatek/mtk-cqdma.c
@@ -546,7 +546,9 @@ static void mtk_cqdma_hw_deinit(struct mtk_cqdma_device *cqdma)
}

static const struct of_device_id mtk_cqdma_match[] = {
+ { .compatible = "mediatek,common-cqdma" },
{ .compatible = "mediatek,mt6765-cqdma" },
+ { .compatible = "mediatek,mt6779-cqdma" },
{ /* sentinel */ }
};
MODULE_DEVICE_TABLE(of, mtk_cqdma_match);
--
1.9.1