commit | 7de1f65c0cf1e11ee3fa580d59eb7acdd0c42ad9 | [log] [tgz] |
---|---|---|
author | Aleksandr Bezzubikov <zuban32s@gmail.com> | Fri Aug 18 02:33:19 2017 +0300 |
committer | Kevin O'Connor <kevin@koconnor.net> | Thu Sep 14 15:49:13 2017 -0400 |
tree | 47455d58ac17d7692264e84ad1816c6194ab3b3d | |
parent | 1ef72ab2f89ae61dcdb3f01323bd0a7dc978c2b9 [diff] |
pci: refactor pci_find_capapibilty to get bdf as the first argument instead of the whole pci_device Refactor pci_find_capability function to get bdf instead of a whole pci_device* as the only necessary field for this function is still bdf. Signed-off-by: Aleksandr Bezzubikov <zuban32s@gmail.com> Reviewed-by: Marcel Apfelbaum <marcel@redhat.com>