diff options
-rw-r--r-- | arch/s390/include/asm/dma-mapping.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/arch/s390/include/asm/dma-mapping.h b/arch/s390/include/asm/dma-mapping.h index 8a32f7dfd3af..e74bc7ac72e0 100644 --- a/arch/s390/include/asm/dma-mapping.h +++ b/arch/s390/include/asm/dma-mapping.h | |||
@@ -20,8 +20,11 @@ static inline struct dma_map_ops *get_dma_ops(struct device *dev) | |||
20 | 20 | ||
21 | extern int dma_set_mask(struct device *dev, u64 mask); | 21 | extern int dma_set_mask(struct device *dev, u64 mask); |
22 | extern int dma_is_consistent(struct device *dev, dma_addr_t dma_handle); | 22 | extern int dma_is_consistent(struct device *dev, dma_addr_t dma_handle); |
23 | extern void dma_cache_sync(struct device *dev, void *vaddr, size_t size, | 23 | |
24 | enum dma_data_direction direction); | 24 | static inline void dma_cache_sync(struct device *dev, void *vaddr, size_t size, |
25 | enum dma_data_direction direction) | ||
26 | { | ||
27 | } | ||
25 | 28 | ||
26 | #define dma_alloc_noncoherent(d, s, h, f) dma_alloc_coherent(d, s, h, f) | 29 | #define dma_alloc_noncoherent(d, s, h, f) dma_alloc_coherent(d, s, h, f) |
27 | #define dma_free_noncoherent(d, s, v, h) dma_free_coherent(d, s, v, h) | 30 | #define dma_free_noncoherent(d, s, v, h) dma_free_coherent(d, s, v, h) |