Message ID | 1527327308-69566-1-git-send-email-weiyongjun1@huawei.com (mailing list archive) |
---|---|
State | New, archived |
Delegated to: | Bjorn Helgaas |
Headers | show |
On Sat, May 26, 2018 at 09:35:08AM +0000, Wei Yongjun wrote: > Make sure of_device_id tables are NULL terminated. > > Fixes: 0db7e807fa68 ("PCI: mobiveil: Add Mobiveil PCIe Host Bridge IP driver") > Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Thanks, I folded this into 0db7e807fa68, since it hasn't been merged to Linus' tree yet. Lorenzo, I just cherry-picked your lorenzo/pci/mobiveil branch to my pci/host/mobiveil branch to make this happen, so you can drop your branch. > --- > drivers/pci/host/pcie-mobiveil.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/pci/host/pcie-mobiveil.c b/drivers/pci/host/pcie-mobiveil.c > index f3fbe9d..4d6c20e 100644 > --- a/drivers/pci/host/pcie-mobiveil.c > +++ b/drivers/pci/host/pcie-mobiveil.c > @@ -845,6 +845,7 @@ static int mobiveil_pcie_probe(struct platform_device *pdev) > > static const struct of_device_id mobiveil_pcie_of_match[] = { > {.compatible = "mbvl,gpex40-pcie",}, > + {}, > }; > > MODULE_DEVICE_TABLE(of, mobiveil_pcie_of_match); >
diff --git a/drivers/pci/host/pcie-mobiveil.c b/drivers/pci/host/pcie-mobiveil.c index f3fbe9d..4d6c20e 100644 --- a/drivers/pci/host/pcie-mobiveil.c +++ b/drivers/pci/host/pcie-mobiveil.c @@ -845,6 +845,7 @@ static int mobiveil_pcie_probe(struct platform_device *pdev) static const struct of_device_id mobiveil_pcie_of_match[] = { {.compatible = "mbvl,gpex40-pcie",}, + {}, }; MODULE_DEVICE_TABLE(of, mobiveil_pcie_of_match);
Make sure of_device_id tables are NULL terminated. Fixes: 0db7e807fa68 ("PCI: mobiveil: Add Mobiveil PCIe Host Bridge IP driver") Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> --- drivers/pci/host/pcie-mobiveil.c | 1 + 1 file changed, 1 insertion(+)