提交 5675b4d4 编写于 作者: C Chunfeng Yun 提交者: Greg Kroah-Hartman

usb: xhci-mtk: add generic compatible string

The xhci-mtk driver is a generic driver for MediaTek xHCI IP, add
a generic compatible to avoid confusion when support new SoCs but
use a compatible with specific SoC's name "mt8173".
Signed-off-by: NChunfeng Yun <chunfeng.yun@mediatek.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 a38711a8
...@@ -795,6 +795,7 @@ static const struct dev_pm_ops xhci_mtk_pm_ops = { ...@@ -795,6 +795,7 @@ static const struct dev_pm_ops xhci_mtk_pm_ops = {
#ifdef CONFIG_OF #ifdef CONFIG_OF
static const struct of_device_id mtk_xhci_of_match[] = { static const struct of_device_id mtk_xhci_of_match[] = {
{ .compatible = "mediatek,mt8173-xhci"}, { .compatible = "mediatek,mt8173-xhci"},
{ .compatible = "mediatek,mtk-xhci"},
{ }, { },
}; };
MODULE_DEVICE_TABLE(of, mtk_xhci_of_match); MODULE_DEVICE_TABLE(of, mtk_xhci_of_match);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册