powerpc: Create pci_controller_ops.window_alignment and shim
authorDaniel Axtens <dja@axtens.net>
Tue, 31 Mar 2015 05:00:46 +0000 (16:00 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 11 Apr 2015 10:49:13 +0000 (20:49 +1000)
commit542070baf4a0fe9de14cc2c4ca3ff1b43f14f90f
tree768ab816acf7f3370116b6009d1bc8b8c843b5bd
parentb31e79f8d92ca115a935e37cfd4da74048739689
powerpc: Create pci_controller_ops.window_alignment and shim

Add pci_controller_ops.window_alignment,
shadowing ppc_md.pcibios_window_alignment.
Add a shim, and changes the callsites to use the shim.

Here, we use pci_window_alignment, as pcibios_window_alignment is
already taken.

Signed-off-by: Daniel Axtens <dja@axtens.net>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/pci-bridge.h
arch/powerpc/kernel/pci-common.c