diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/pci/pci_compat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/pci_compat.c b/drivers/pci/pci_compat.c index ddaf358e26d..25bc095dced 100644 --- a/drivers/pci/pci_compat.c +++ b/drivers/pci/pci_compat.c @@ -49,5 +49,5 @@ struct pci_controller *pci_bus_to_hose(int busnum) return NULL; } - return dev_get_uclass_priv(bus); + return dev_get_uclass_priv(pci_get_controller(bus)); } |