Re: [PATCH v6 3/6] pci: Create pci_host_bridge before its associated bus in pci_create_root_bus.

2014-03-07 Thread Grant Likely
On Wed, 5 Mar 2014 11:48:54 +, Liviu Dudau wrote: > Before commit 7b5436635800 the pci_host_bridge was created before the root > bus. > As that commit has added a needless dependency on the bus for > pci_alloc_host_bridge() > the creation order has been changed for no good reason. Revert th

[PATCH v6 3/6] pci: Create pci_host_bridge before its associated bus in pci_create_root_bus.

2014-03-05 Thread Liviu Dudau
Before commit 7b5436635800 the pci_host_bridge was created before the root bus. As that commit has added a needless dependency on the bus for pci_alloc_host_bridge() the creation order has been changed for no good reason. Revert the order of creation as we are going to depend on the pci_host_bridg