]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - include/linux/dma-mapping.h
Merge tag 'soc2-for-3.16' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
[karo-tx-linux.git] / include / linux / dma-mapping.h
index 0c3eab1e39ac4314089befbd222a7682eb404c1e..931b709862728d46f161a8bc72790fc5a8d8c2dc 100644 (file)
@@ -129,6 +129,13 @@ static inline int dma_coerce_mask_and_coherent(struct device *dev, u64 mask)
 
 extern u64 dma_get_required_mask(struct device *dev);
 
+#ifndef set_arch_dma_coherent_ops
+static inline int set_arch_dma_coherent_ops(struct device *dev)
+{
+       return 0;
+}
+#endif
+
 static inline unsigned int dma_get_max_seg_size(struct device *dev)
 {
        return dev->dma_parms ? dev->dma_parms->max_segment_size : 65536;