pci: change pci_find_device

Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
Michael Shaw 2026-07-13 15:02:00 -04:00
commit 16b2e9de0a
3 changed files with 34 additions and 2 deletions

View file

@ -52,7 +52,7 @@ void pci_config_write32(struct pci_host *host, u8 bus, u8 dev, u8 func, u16 reg,
*addr = val;
}
size_t pci_find_device(u16 minor, u16 major, list_t *out)
size_t pci_find_device(u16 major, u16 minor, list_t *out)
{
size_t n = 0;