[U-Boot] [PATCH v2 08/34] pci: Fix comment in struct pci_child_platdata
Simon Glass
sjg at chromium.org
Sun Feb 17 03:24:41 UTC 2019
This is platdata, not private data, so the comment is currently incorrect.
Fix it to avoid confusion.
Signed-off-by: Simon Glass <sjg at chromium.org>
Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
---
Changes in v2: None
include/pci.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/pci.h b/include/pci.h
index dd5f051989d..936cfe975cb 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()
--
2.21.0.rc0.258.g878e2cd30e-goog
More information about the U-Boot
mailing list