powerpc: Remove addr_needs_map in struct dma_mapping_ops
[pandora-kernel.git] / arch / powerpc / platforms / 85xx / mpc85xx_mds.c
index 20a61d0..25998b6 100644 (file)
@@ -256,6 +256,7 @@ static void __init mpc85xx_mds_setup_arch(void)
        if (lmb_end_of_DRAM() > max) {
                ppc_swiotlb_enable = 1;
                set_pci_dma_ops(&swiotlb_pci_dma_ops);
+               ppc_md.pci_dma_dev_setup = pci_dma_dev_setup_swiotlb;
        }
 #endif
 }