diff mbox series

PCI: qcom-ep: Add MODULE_DEVICE_TABLE

Message ID 20220430084740.3769925-1-dmitry.baryshkov@linaro.org
State New
Headers show
Series PCI: qcom-ep: Add MODULE_DEVICE_TABLE | expand

Commit Message

Dmitry Baryshkov April 30, 2022, 8:47 a.m. UTC
Add MODULE_DEVICE_TABLE to enable module autoloading for respective
device.

Fixes: f55fee56a631 ("PCI: qcom-ep: Add Qualcomm PCIe Endpoint controller driver")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
 drivers/pci/controller/dwc/pcie-qcom-ep.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Lorenzo Pieralisi Aug. 30, 2022, 8:30 a.m. UTC | #1
On Sat, 30 Apr 2022 11:47:40 +0300, Dmitry Baryshkov wrote:
> Add MODULE_DEVICE_TABLE to enable module autoloading for respective
> device.
> 
> 

Applied to pci/qcom, thanks!

[1/1] PCI: qcom-ep: Add MODULE_DEVICE_TABLE
      https://git.kernel.org/lpieralisi/pci/c/2baedb9f93c4

Thanks,
Lorenzo
diff mbox series

Patch

diff --git a/drivers/pci/controller/dwc/pcie-qcom-ep.c b/drivers/pci/controller/dwc/pcie-qcom-ep.c
index 6ce8eddf3a37..b56d1438f40b 100644
--- a/drivers/pci/controller/dwc/pcie-qcom-ep.c
+++ b/drivers/pci/controller/dwc/pcie-qcom-ep.c
@@ -703,6 +703,7 @@  static const struct of_device_id qcom_pcie_ep_match[] = {
 	{ .compatible = "qcom,sdx55-pcie-ep", },
 	{ }
 };
+MODULE_DEVICE_TABLE(of, qcom_pcie_ep_match);
 
 static struct platform_driver qcom_pcie_ep_driver = {
 	.probe	= qcom_pcie_ep_probe,