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

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: default avatarSimon Glass <sjg@chromium.org>
Acked-by: default avatarStephen Warren <swarren@nvidia.com>
Tested-by: default avatarStephen Warren <swarren@nvidia.com>
parent 9289db6c
No related branches found
No related tags found
Loading
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