Message ID | 20220430084740.3769925-1-dmitry.baryshkov@linaro.org |
---|---|
State | New |
Headers | show |
Series | PCI: qcom-ep: Add MODULE_DEVICE_TABLE | expand |
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 --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,
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(+)