]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - arch/sparc/include/asm/dma-mapping.h
sparc: remove leon_dma_ops
[karo-tx-linux.git] / arch / sparc / include / asm / dma-mapping.h
index b8e8dfcd065dc725f5c4127a6c373f961170ead3..98da9f92c318ce56364b06d6bc8df813a0683606 100644 (file)
@@ -17,7 +17,6 @@ static inline void dma_cache_sync(struct device *dev, void *vaddr, size_t size,
 }
 
 extern const struct dma_map_ops *dma_ops;
-extern const struct dma_map_ops *leon_dma_ops;
 extern const struct dma_map_ops pci32_dma_ops;
 
 extern struct bus_type pci_bus_type;
@@ -26,7 +25,7 @@ static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus)
 {
 #ifdef CONFIG_SPARC_LEON
        if (sparc_cpu_model == sparc_leon)
-               return leon_dma_ops;
+               return &pci32_dma_ops;
 #endif
 #if defined(CONFIG_SPARC32) && defined(CONFIG_PCI)
        if (bus == &pci_bus_type)