From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Thu, 17 Nov 2016 18:14:35 -0700 Subject: [U-Boot] [PATCHv3 02/15] dm: pci: return the real controller in pci_bus_to_hose() In-Reply-To: <1479289697-23809-2-git-send-email-Zhiqiang.Hou@nxp.com> References: <1479289697-23809-1-git-send-email-Zhiqiang.Hou@nxp.com> <1479289697-23809-2-git-send-email-Zhiqiang.Hou@nxp.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 16 November 2016 at 02:48, Zhiqiang Hou wrote: > From: Minghuan Lian > > for the legacy PCI driver, the function pci_bus_to_hose() returns > the real PCIe controller. To keep consistency, this function is > changed to return the PCIe controller pointer of the root bus > instead of the current PCIe bus. > > Signed-off-by: Minghuan Lian > Signed-off-by: Hou Zhiqiang > --- > V3: > - No change > > drivers/pci/pci_compat.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Simon Glass