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-24 15:38:07 -06:00
2015-08-13 15:59:59 -05:00
2015-08-20 12:02:49 -05:00
2015-11-06 11:29:53 -08:00
2014-06-10 20:20:19 -06:00
2015-11-06 11:29:53 -08:00
2014-06-10 20:20:19 -06:00
2014-06-10 20:20:19 -06:00