Skip to contentSkip to conversation

dm: pci: Fix doc typo first -> next

PATCH New Michal Suchanek 1 participant 1 message Sep 27, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dm: pci: Fix doc typo first -> next

pci_find_first_device description says it can be used for iteration with itself but it should really be with pci_find_next_device

---
Resent separately

 include/pci.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/pci.h +1 -1
index d7ed35dd52..c55d6107a4 100644
@@ -957,7 +957,7 @@ int pci_bus_find_devfn(const struct udevice *bus, pci_dev_t find_devfn,
 /**
  * pci_find_first_device() - return the first available PCI device
  *
- * This function and pci_find_first_device() allow iteration through all
+ * This function and pci_find_next_device() allow iteration through all
  * available PCI devices on all buses. Assuming there are any, this will
  * return the first one.
  *
Signature · 1 line
2.37.3