path: root/arch/avr32/include
diff options
authorBart Van Assche <>2017-01-20 13:04:04 -0800
committerDoug Ledford <>2017-01-24 12:23:35 -0500
commit815dd18788fe0d41899f51b91d0560279cf16b0d (patch)
tree11d20f38f588ee9b18f3c655e2972c01430ba47c /arch/avr32/include
parentca6e8e1031419549f67291ca31b43126f07cecdb (diff)
treewide: Consolidate get_dma_ops() implementations
Introduce a new architecture-specific get_arch_dma_ops() function that takes a struct bus_type * argument. Add get_dma_ops() in <linux/dma-mapping.h>. Signed-off-by: Bart Van Assche <> Cc: Benjamin Herrenschmidt <> Cc: Boris Ostrovsky <> Cc: David Woodhouse <> Cc: Juergen Gross <> Cc: H. Peter Anvin <> Cc: Ingo Molnar <> Cc: Cc: Cc: Russell King <> Cc: Signed-off-by: Doug Ledford <>
Diffstat (limited to 'arch/avr32/include')
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/avr32/include/asm/dma-mapping.h b/arch/avr32/include/asm/dma-mapping.h
index b2b43c0..7388451 100644
--- a/arch/avr32/include/asm/dma-mapping.h
+++ b/arch/avr32/include/asm/dma-mapping.h
@@ -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;