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