Merge branch 'remotes/lorenzo/pci/mediatek-gen3'
authorBjorn Helgaas <bhelgaas@google.com>
Tue, 6 Jul 2021 15:56:31 +0000 (10:56 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 6 Jul 2021 15:56:31 +0000 (10:56 -0500)
- Add missing MODULE_DEVICE_TABLE for driver loading (Zou Wei)

* remotes/lorenzo/pci/mediatek-gen3:
  PCI: mediatek-gen3: Add missing MODULE_DEVICE_TABLE

drivers/pci/controller/pcie-mediatek-gen3.c

index 3c5b97716d409c203b8ae216bd910064a0938248..f3aeb8d4eaca8a25d366412da8f52a21478a08af 100644 (file)
@@ -1012,6 +1012,7 @@ static const struct of_device_id mtk_pcie_of_match[] = {
        { .compatible = "mediatek,mt8192-pcie" },
        {},
 };
+MODULE_DEVICE_TABLE(of, mtk_pcie_of_match);
 
 static struct platform_driver mtk_pcie_driver = {
        .probe = mtk_pcie_probe,