commit | 6256d67a8a5400baad596efd86b3c2b3968000f0 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Thu Nov 19 20:27:00 2015 -0700 |
committer | Simon Glass <sjg@chromium.org> | Tue Dec 01 06:26:36 2015 -0700 |
tree | 9c8f9d5815a9a2bb315b683d87fd446b2dbfc689 | |
parent | 27a733f4982c0669a9e0d86b5bc1b11637bc42c0 [diff] |
dm: pci: Add a function to get the controller for a bus A PCI bus may be a bridge device where the controller is the bridge's parent. Add a function to return the controller device, given a PCI device. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Stephen Warren <swarren@nvidia.com> Tested-by: Stephen Warren <swarren@nvidia.com>