On Fri, Aug 7, 2015 at 11:36 AM, Zhou Wang <wangzhou1@xxxxxxxxxxxxx> wrote: > [+cc jingoohan1@xxxxxxxxx] > > On 2015/8/6 16:09, Zhou Wang wrote: >> From: gabriele paoloni <gabriele.paoloni@xxxxxxxxxx> >> >> This patch is needed in order to unify the PCIe designware framework for ARM and >> ARM64 architectures. In the PCIe designware unification process we are calling >> pci_create_root_bus() passing a "sysdata" parameter that is the same for both >> ARM and ARM64 and is of type "struct pcie_port*". In the ARM case this will >> cause a problem with the function pcibios_align_resource(); in fact this will >> cast "dev->sysdata" to "struct pci_sys_data*", whereas designware had passed a >> "struct pcie_port*" pointer. >> >> This patch solves the issue by removing "align_resource" from "pci_sys_data" >> struct and defining a static global function pointer in "bios32.c" >> >> Signed-off-by: Gabriele Paoloni <gabriele.paoloni@xxxxxxxxxx> Acked-by: Pratyush Anand <pratyush.anand@xxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html