Commit 3a2e476d authored by Zou Wei's avatar Zou Wei Committed by Lorenzo Pieralisi
Browse files

PCI: mediatek-gen3: Add missing MODULE_DEVICE_TABLE

This patch adds missing MODULE_DEVICE_TABLE definition which generates
correct modalias for automatic loading of this driver when it is built
as an external module.

Link: https://lore.kernel.org/r/1620717091-108691-1-git-send-email-zou_wei@huawei.com


Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarZou Wei <zou_wei@huawei.com>
Signed-off-by: default avatarLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: default avatarKrzysztof Wilczyński <kw@linux.com>
parent 6efb943b
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -1012,6 +1012,7 @@ static const struct of_device_id mtk_pcie_of_match[] = {
	{ .compatible = "mediatek,mt8192-pcie" },
	{ .compatible = "mediatek,mt8192-pcie" },
	{},
	{},
};
};
MODULE_DEVICE_TABLE(of, mtk_pcie_of_match);


static struct platform_driver mtk_pcie_driver = {
static struct platform_driver mtk_pcie_driver = {
	.probe = mtk_pcie_probe,
	.probe = mtk_pcie_probe,