diff options
Diffstat (limited to 'arch/m32r/include/asm/dma-mapping.h')
| -rw-r--r-- | arch/m32r/include/asm/dma-mapping.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/m32r/include/asm/dma-mapping.h b/arch/m32r/include/asm/dma-mapping.h index 99c43d2f05dc..27b1597ac563 100644 --- a/arch/m32r/include/asm/dma-mapping.h +++ b/arch/m32r/include/asm/dma-mapping.h | |||
| @@ -12,8 +12,8 @@ | |||
| 12 | 12 | ||
| 13 | static inline const struct dma_map_ops *get_dma_ops(struct device *dev) | 13 | static inline const struct dma_map_ops *get_dma_ops(struct device *dev) |
| 14 | { | 14 | { |
| 15 | if (dev && dev->archdata.dma_ops) | 15 | if (dev && dev->dma_ops) |
| 16 | return dev->archdata.dma_ops; | 16 | return dev->dma_ops; |
| 17 | return &dma_noop_ops; | 17 | return &dma_noop_ops; |
| 18 | } | 18 | } |
| 19 | 19 | ||
