diff options
author | Michal Suchanek | 2022-09-27 23:25:24 +0200 |
---|---|---|
committer | Simon Glass | 2022-10-29 07:36:33 -0600 |
commit | 1fcfadcb82a21af058baa5dea2b20883b8c388b8 (patch) | |
tree | 01b1de52dfb7b29028d7d81f8b65e97c3801db47 /include/pci.h | |
parent | d7e9de7ec1bb79261c08e7689a1856a464ee2443 (diff) |
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
Signed-off-by: Michal Suchanek <msuchanek@suse.de>
Diffstat (limited to 'include/pci.h')
-rw-r--r-- | include/pci.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/pci.h b/include/pci.h index d7ed35dd523..c55d6107a49 100644 --- a/include/pci.h +++ b/include/pci.h @@ -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. * |