aboutsummaryrefslogtreecommitdiff
path: root/include/pci.h
diff options
context:
space:
mode:
authorSimon Glass2019-02-16 20:24:41 -0700
committerBin Meng2019-02-20 15:21:44 +0800
commit7d38db55f70a30eaa64f91b35720abc5f595783f (patch)
tree30b99a951a81540bf5d40e295a724b0a16a4bb11 /include/pci.h
parent11503be4480d5091fb59c563a0c357b6967c24ba (diff)
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 <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'include/pci.h')
-rw-r--r--include/pci.h2
1 files changed, 1 insertions, 1 deletions
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()