diff options
author | Dongdong Liu <liudongdong3@huawei.com> | 2017-03-23 09:18:17 -0400 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2017-04-12 11:46:47 -0400 |
commit | b9c1153f7a9cb2d53b845615a0edd510f7fe8341 (patch) | |
tree | 49f96f78d3848e241824ba68b6709fe6a15117a4 /drivers | |
parent | 794a8604fe6e4a311373cde57a86ad4aab9d32b8 (diff) |
PCI: hisi: Fix DT binding (hisi-pcie-almost-ecam)
The "hisilicon,pcie-almost-ecam" binding goes against the usual DT
conventions, and is non-sensical in that it describes the IP based on
what it isn't. Fix the DT binding with "hisilicon,hip06-pcie-ecam"
and "hisilicon,hip07-pcie-ecam".
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Dongdong Liu <liudongdong3@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/pci/dwc/pcie-hisi.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/pci/dwc/pcie-hisi.c b/drivers/pci/dwc/pcie-hisi.c index fd66a3199db7..cf9d6a9d9fd4 100644 --- a/drivers/pci/dwc/pcie-hisi.c +++ b/drivers/pci/dwc/pcie-hisi.c | |||
@@ -380,9 +380,13 @@ struct pci_ecam_ops hisi_pcie_platform_ops = { | |||
380 | 380 | ||
381 | static const struct of_device_id hisi_pcie_almost_ecam_of_match[] = { | 381 | static const struct of_device_id hisi_pcie_almost_ecam_of_match[] = { |
382 | { | 382 | { |
383 | .compatible = "hisilicon,pcie-almost-ecam", | 383 | .compatible = "hisilicon,hip06-pcie-ecam", |
384 | .data = (void *) &hisi_pcie_platform_ops, | 384 | .data = (void *) &hisi_pcie_platform_ops, |
385 | }, | 385 | }, |
386 | { | ||
387 | .compatible = "hisilicon,hip07-pcie-ecam", | ||
388 | .data = (void *) &hisi_pcie_platform_ops, | ||
389 | }, | ||
386 | {}, | 390 | {}, |
387 | }; | 391 | }; |
388 | 392 | ||