mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00:00
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>
This commit is contained in:
parent
11503be448
commit
7d38db55f7
1 changed files with 1 additions and 1 deletions
|
@ -822,7 +822,7 @@ struct udevice;
|
||||||
*
|
*
|
||||||
* Every device on a PCI bus has this per-child data.
|
* 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)
|
* PCI bus (i.e. UCLASS_PCI)
|
||||||
*
|
*
|
||||||
* @devfn: Encoded device and function index - see PCI_DEVFN()
|
* @devfn: Encoded device and function index - see PCI_DEVFN()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue