From: Simon Glass Date: Sun, 17 Feb 2019 03:24:41 +0000 (-0700) Subject: pci: Fix comment in struct pci_child_platdata X-Git-Tag: v2019.04-rc3~13^2~26 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=7d38db55f70a30eaa64f91b35720abc5f595783f;p=oweals%2Fu-boot.git pci: Fix comment in struct pci_child_platdata This is platdata, not private data, so the comment is currently incorrect. Fix it to avoid confusion. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- diff --git a/include/pci.h b/include/pci.h index dd5f051989..936cfe975c 100644 --- a/include/pci.h +++ b/include/pci.h @@ -822,7 +822,7 @@ struct udevice; * * Every device on a PCI bus has this per-child data. * - * It can be accessed using dev_get_parent_priv(dev) if dev->parent is a + * It can be accessed using dev_get_parent_platdata(dev) if dev->parent is a * PCI bus (i.e. UCLASS_PCI) * * @devfn: Encoded device and function index - see PCI_DEVFN()