aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mpi/mpicoder.c
diff options
context:
space:
mode:
authorZhou Wang <[email protected]>2015-10-30 00:57:21 +0000
committerBjorn Helgaas <[email protected]>2015-11-02 20:49:18 +0000
commitcbce7900598c26a12652f8ca9c41c5b29034c38d (patch)
tree349cf4e2ec58e44c139a58d1150a62219e2a43fb /lib/mpi/mpicoder.c
parentARM/PCI: Replace pci_sys_data->align_resource with global function pointer (diff)
downloadkernel-cbce7900598c26a12652f8ca9c41c5b29034c38d.tar.gz
kernel-cbce7900598c26a12652f8ca9c41c5b29034c38d.zip
PCI: designware: Make driver arch-agnostic
Previously, dw_pcie_host_init() created the PCI host bridge with pci_common_init_dev(), an ARM-specific function that supplies the ARM- specific pci_sys_data structure as the PCI "sysdata". Make pcie-designware.c arch-agnostic by reimplementing the functionality of pci_common_init_dev() directly in dw_pcie_host_init(). Note that this changes the bridge sysdata from the ARM pci_sys_data to the DesignWare pcie_port structure. This doesn't affect the ARM sysdata users because they are all specific to non-DesignWare host bridges, which will still have pci_sys_data. [bhelgaas: changelog] Tested-by: James Morse <[email protected]> Tested-by: Gabriel Fernandez <[email protected]> Tested-by: Minghuan Lian <[email protected]> Signed-off-by: Zhou Wang <[email protected]> Signed-off-by: Gabriele Paoloni <[email protected]> Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Acked-by: Pratyush Anand <[email protected]>
Diffstat (limited to 'lib/mpi/mpicoder.c')
0 files changed, 0 insertions, 0 deletions