Skip to content
Snippets Groups Projects
Commit 4b515e4f authored by Simon Glass's avatar Simon Glass
Browse files

dm: pci: Add a function to get the BDF for a device


It is useful to be able to find the full PCI address (bus, device and
function) for a PCI device. Add a function to provide this.

Adjust the existing code to use this.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent d0a5a0b2
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment