|
@@ -637,6 +637,7 @@ static void pci32_sync_sg_for_device(struct device *device, struct scatterlist *
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+/* note: leon re-uses pci32_dma_ops */
|
|
const struct dma_map_ops pci32_dma_ops = {
|
|
const struct dma_map_ops pci32_dma_ops = {
|
|
.alloc = pci32_alloc_coherent,
|
|
.alloc = pci32_alloc_coherent,
|
|
.free = pci32_free_coherent,
|
|
.free = pci32_free_coherent,
|
|
@@ -651,10 +652,6 @@ const struct dma_map_ops pci32_dma_ops = {
|
|
};
|
|
};
|
|
EXPORT_SYMBOL(pci32_dma_ops);
|
|
EXPORT_SYMBOL(pci32_dma_ops);
|
|
|
|
|
|
-/* leon re-uses pci32_dma_ops */
|
|
|
|
-const struct dma_map_ops *leon_dma_ops = &pci32_dma_ops;
|
|
|
|
-EXPORT_SYMBOL(leon_dma_ops);
|
|
|
|
-
|
|
|
|
const struct dma_map_ops *dma_ops = &sbus_dma_ops;
|
|
const struct dma_map_ops *dma_ops = &sbus_dma_ops;
|
|
EXPORT_SYMBOL(dma_ops);
|
|
EXPORT_SYMBOL(dma_ops);
|
|
|
|
|