diff options
Diffstat (limited to 'drivers/pci/pcie_mediatek.c')
-rw-r--r-- | drivers/pci/pcie_mediatek.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/pcie_mediatek.c b/drivers/pci/pcie_mediatek.c index 2ebe4a4..41c38ed 100644 --- a/drivers/pci/pcie_mediatek.c +++ b/drivers/pci/pcie_mediatek.c @@ -264,7 +264,7 @@ static struct mtk_pcie_port *mtk_pcie_find_port(const struct udevice *bus, while (dev->parent->seq != 0) dev = dev->parent; - pplat = dev_get_parent_platdata(dev); + pplat = dev_get_parent_plat(dev); } list_for_each_entry(port, &pcie->ports, list) { |