From: Chunfeng Yun Date: Wed, 30 Aug 2017 11:34:09 +0000 (+0800) Subject: usb: xhci-mtk: add generic compatible string X-Git-Tag: v4.14-rc1~150^2~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5675b4d40b52291f9035c120b28f905a27f32828;p=platform%2Fkernel%2Flinux-rpi.git 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: Chunfeng Yun Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/host/xhci-mtk.c b/drivers/usb/host/xhci-mtk.c index 67d5dc7..8fb6065 100644 --- a/drivers/usb/host/xhci-mtk.c +++ b/drivers/usb/host/xhci-mtk.c @@ -795,6 +795,7 @@ static const struct dev_pm_ops xhci_mtk_pm_ops = { #ifdef CONFIG_OF static const struct of_device_id mtk_xhci_of_match[] = { { .compatible = "mediatek,mt8173-xhci"}, + { .compatible = "mediatek,mtk-xhci"}, { }, }; MODULE_DEVICE_TABLE(of, mtk_xhci_of_match);