commit | c9118d4cd6f52389ccd7a39ad422245c90e2ecee | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Mon Jul 06 16:47:46 2015 -0600 |
committer | Simon Glass <sjg@chromium.org> | Tue Jul 21 17:39:39 2015 -0600 |
tree | 4d32fa142fc6d0a095a89a932707cd07d2c49db5 | |
parent | f2acb535e89c0fbb8c711c92193f508665807271 [diff] |
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: Simon Glass <sjg@chromium.org>