summaryrefslogtreecommitdiffstats
path: root/arch/xtensa/include/asm/dma-mapping.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/xtensa/include/asm/dma-mapping.h')
-rw-r--r--arch/xtensa/include/asm/dma-mapping.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/arch/xtensa/include/asm/dma-mapping.h b/arch/xtensa/include/asm/dma-mapping.h
index 329abc7211e9..4427f38b634e 100644
--- a/arch/xtensa/include/asm/dma-mapping.h
+++ b/arch/xtensa/include/asm/dma-mapping.h
@@ -32,17 +32,6 @@ static inline struct dma_map_ops *get_dma_ops(struct device *dev)
#include <asm-generic/dma-mapping-common.h>
-static inline int
-dma_set_mask(struct device *dev, u64 mask)
-{
- if(!dev->dma_mask || !dma_supported(dev, mask))
- return -EIO;
-
- *dev->dma_mask = mask;
-
- return 0;
-}
-
void dma_cache_sync(struct device *dev, void *vaddr, size_t size,
enum dma_data_direction direction);