diff options
Diffstat (limited to 'arch/arm/include/asm/dma-mapping.h')
-rw-r--r-- | arch/arm/include/asm/dma-mapping.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/include/asm/dma-mapping.h b/arch/arm/include/asm/dma-mapping.h index 1aabd781306f..312f4d0564d6 100644 --- a/arch/arm/include/asm/dma-mapping.h +++ b/arch/arm/include/asm/dma-mapping.h | |||
@@ -18,8 +18,8 @@ extern const struct dma_map_ops arm_coherent_dma_ops; | |||
18 | 18 | ||
19 | static inline const struct dma_map_ops *__generic_dma_ops(struct device *dev) | 19 | static inline const struct dma_map_ops *__generic_dma_ops(struct device *dev) |
20 | { | 20 | { |
21 | if (dev && dev->archdata.dma_ops) | 21 | if (dev && dev->dma_ops) |
22 | return dev->archdata.dma_ops; | 22 | return dev->dma_ops; |
23 | return &arm_dma_ops; | 23 | return &arm_dma_ops; |
24 | } | 24 | } |
25 | 25 | ||
@@ -34,7 +34,7 @@ static inline const struct dma_map_ops *get_dma_ops(struct device *dev) | |||
34 | static inline void set_dma_ops(struct device *dev, const struct dma_map_ops *ops) | 34 | static inline void set_dma_ops(struct device *dev, const struct dma_map_ops *ops) |
35 | { | 35 | { |
36 | BUG_ON(!dev); | 36 | BUG_ON(!dev); |
37 | dev->archdata.dma_ops = ops; | 37 | dev->dma_ops = ops; |
38 | } | 38 | } |
39 | 39 | ||
40 | #define HAVE_ARCH_DMA_SUPPORTED 1 | 40 | #define HAVE_ARCH_DMA_SUPPORTED 1 |