]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - include/pci.h
sparse: Simplify multiple logic
[people/ms/u-boot.git] / include / pci.h
index e24c9701301bfe2138d457b024d3040e1a03485c..ed135a51227cc6adab0e173e0d26a5630438ecd7 100644 (file)
@@ -797,7 +797,7 @@ struct udevice;
  *
  * Every device on a PCI bus has this per-child data.
  *
- * It can be accessed using dev_get_parentdata(dev) if dev->parent is a
+ * It can be accessed using dev_get_parent_priv(dev) if dev->parent is a
  * PCI bus (i.e. UCLASS_PCI)
  *
  * @devfn:     Encoded device and function index - see PCI_DEVFN()