[PATCH] critical patch to fix build bot failed

From: Ryder Lee
Date: Mon Jun 26 2017 - 09:34:48 EST


Hi,

This is a critical patch (based on pcie -next branch) to fix build bot failure:

This build failure is still present in -next:

> arm-allmodconfig
> ../drivers/pci/host/pcie-mediatek.c:485:8: error: implicit declaration of function 'pci_register_host_bridge' [-Werror=implicit-function-declaration]

and we're at -rc7 now.


This is because host/pci-mediatek is a separate branch in pci-tree but we (Lorenzo's patches) merge together.
Seems Bjorn didn't response these days, so I need someone help to apply this patch to -next.

Hi Arnd and Mark,

Do you have better idea to handle this situation? I'm really not sure how to fix it in proper ways.
Thanks a lot.

Ryder

Ryder Lee (1):
PCI: mediatek: change to use pci_scan_root_bus_bridge()

drivers/pci/host/pcie-mediatek.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)

--
1.9.1