Gabriele Paoloni 7c7a0e9453 ARM/PCI: Move align_resource function pointer to pci_host_bridge structure
Commit b3a72384fe29 ("ARM/PCI: Replace pci_sys_data->align_resource with
global function pointer") introduced an ARM-specific align_resource()
function pointer.  This is not portable to other arches and doesn't work
for platforms with two different PCIe host bridge controllers.

Move the function pointer to the pci_host_bridge structure so each host
bridge driver can specify its own align_resource() function.

Signed-off-by: Gabriele Paoloni <gabriele.paoloni@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
2015-11-25 13:23:38 -06:00
..
2015-11-10 10:05:17 -08:00
2015-11-10 14:48:36 -08:00
2015-11-10 14:48:36 -08:00
2015-11-10 14:48:36 -08:00
2015-10-26 10:18:41 +09:00
2015-11-10 14:48:36 -08:00
2015-11-05 13:15:12 -08:00
2015-11-10 14:48:36 -08:00
2015-11-10 14:56:23 -08:00
2015-10-14 17:10:55 +02:00
2015-11-10 14:48:36 -08:00