powerpc/pci: add dma_set_mask to pci_controller_ops
authorDaniel Axtens <dja@axtens.net>
Tue, 28 Apr 2015 05:12:06 +0000 (15:12 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 2 Jun 2015 03:18:49 +0000 (13:18 +1000)
commit3405c2570fd68fc5ccc703c8de9c23abf5e95819
treed041482415c16612f420c9311ddc30437ee7a696
parent92ae03532619dc24fdb7a5ae8ea63785fbd39f86
powerpc/pci: add dma_set_mask to pci_controller_ops

Some systems only need to deal with DMA masks for PCI devices.
For these systems, we can avoid the need for a platform hook and
instead use a pci controller based hook.

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/dma.c