I am trying to compile pcie-microsemi.c (Microsemiexpanssion board) for Hifive unleashed u540 board, am applaying a complete patch given in meta-sifive layer ie 0001-PCI-microsemi-Add-host-driver-for-Microsemi-PCIe-con.patch, patch is applied but i am getting compilation error in both 5.9.9 and 5.10.x, please find the error log
******drivers/pci/controller/pcie-microsemi.c:708:8: error: implicit declaration of function ‘pci_parse_request_of_pci_ranges’; did you mean ‘pci_mmap_resource_range’? [-Werror=implicit-function-declaration]
| err = pci_parse_request_of_pci_ranges(dev, &bridge->windows,
can i get any solution for this??
In kernel 5.8.2 am successfully built and tested on u540 board, But in 5.9.9 and 5.10.x facing issues.