treewide: Consolidate get_dma_ops() implementations
[sfrench/cifs-2.6.git] / arch / avr32 / include / asm / dma-mapping.h
index b2b43c0e0774b55eecc971271bb43e42c6da2bb0..7388451f9905004f6bca38e8064562dcc47c4926 100644 (file)
@@ -6,7 +6,7 @@ extern void dma_cache_sync(struct device *dev, void *vaddr, size_t size,
 
 extern const struct dma_map_ops avr32_dma_ops;
 
-static inline const struct dma_map_ops *get_dma_ops(struct device *dev)
+static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus)
 {
        return &avr32_dma_ops;
 }