powerpc/pci: Default to dma_direct_ops for pci dma_ops
authorKumar Gala <galak@kernel.crashing.org>
Thu, 19 Mar 2009 03:40:50 +0000 (03:40 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 24 Mar 2009 02:47:30 +0000 (13:47 +1100)
commit32ac57668dccf6c4ad5522b61a86fe211886c180
treea41afa6c5ed013efd2c9f413a35feb8b45c79385
parentfb2474491cd3925e6ecece0823f4673af3b0d597
powerpc/pci: Default to dma_direct_ops for pci dma_ops

This will allow us to remove the ppc32 specific checks in get_dma_ops()
that defaults to dma_direct_ops if the archdata is NULL.  We really
should always have archdata set to something going forward.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/pci-common.c